-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give TERM=dumb Higher Priority #88
Comments
I agree. Using TERM=dumb should absolutely be of higher priority than the terminal program used as it shows user intent. |
There's another (more reliable) variable we can check too; see my reply at mochajs/mocha#1304 (comment) Happy to submit a PR for this, as it'll address the issue at SO as well. But I agree |
PR is welcome :) |
I concur with PR change from @Alhadis. |
A breaking-change release? 😀 Could we shove a new |
λ AdobeFontMetrics.js (master): t
|
Have a look for yourself: https://github.com/Alhadis/AdobeFontMetrics.js/blob/master/test/1.1-global-spec.js I actually edited the the I'm tired as shit right now, just letting everybbody be aware of that. :D |
Rearranges evaluation order so check for dumb terminal precedes other terminal and platform-specific checks. Will allow Emacs shell to function properly. Fixes chalk#88
Emacs
M-x shell
runs the shell in an environment where theTERM
variable is set todumb
, which informs the shell and applications that the terminal does not support any terminal control escape sequences.While you have code to handle the dumb setting, both the Windows platform processing and the
TERM_PROGRAM
are processed first.For instance on macOS,
Mocha is getting publicly blamed for this. Suggestions?
The text was updated successfully, but these errors were encountered: