tty: improve color detection by BridgeAR · Pull Request #26264 · nodejs/node (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation12 Commits2 Checks0 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
- Using
process.env.TERM = 'dumb'
should never return any colors. process.env.TERM = 'terminator'
supports 24 bit colors.- Add support for
process.env.TERM = 'rxvt-unicode-24bit'
Hyper
does not support true colors anymore. It should fall back
to the xterm settings in regular cases.process.env.COLORTERM = 'truecolor'
should return 24 bit colors.
Refs: #26261
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes- tests and/or benchmarks are included
- documentation is changed or added
- commit message follows commit guidelines
@BridgeAR sadly an error occured when I tried to trigger a build :(
BridgeAR added the author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
- Using
process.env.TERM = 'dumb'
should never return any colors. process.env.TERM = 'terminator'
supports 24 bit colors.- Add support for
process.env.TERM = 'rxvt-unicode-24bit'
Hyper
does not support true colors anymore. It should fall back to the xterm settings in regular cases.process.env.COLORTERM = 'truecolor'
should return 24 bit colors.
I am quite frankly surprised that pty even works on AIX...
BridgeAR added a commit to BridgeAR/node that referenced this pull request
PR-URL: nodejs#26264 Refs: nodejs#26261 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Jeremiah Senkpiel fishrock123@rocketmail.com Reviewed-By: James M Snell jasnell@gmail.com
BridgeAR added a commit to BridgeAR/node that referenced this pull request
- Using
process.env.TERM = 'dumb'
should never return any colors. process.env.TERM = 'terminator'
supports 24 bit colors.- Add support for
process.env.TERM = 'rxvt-unicode-24bit'
Hyper
does not support true colors anymore. It should fall back to the xterm settings in regular cases.process.env.COLORTERM = 'truecolor'
should return 24 bit colors.
PR-URL: nodejs#26264 Refs: nodejs#26261 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Jeremiah Senkpiel fishrock123@rocketmail.com Reviewed-By: James M Snell jasnell@gmail.com
BridgeAR added a commit that referenced this pull request
PR-URL: #26264 Refs: #26261 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Jeremiah Senkpiel fishrock123@rocketmail.com Reviewed-By: James M Snell jasnell@gmail.com
BridgeAR added a commit that referenced this pull request
- Using
process.env.TERM = 'dumb'
should never return any colors. process.env.TERM = 'terminator'
supports 24 bit colors.- Add support for
process.env.TERM = 'rxvt-unicode-24bit'
Hyper
does not support true colors anymore. It should fall back to the xterm settings in regular cases.process.env.COLORTERM = 'truecolor'
should return 24 bit colors.
PR-URL: #26264 Refs: #26261 Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: Jeremiah Senkpiel fishrock123@rocketmail.com Reviewed-By: James M Snell jasnell@gmail.com
BridgeAR deleted the improve-color-detection branch
Labels
PRs that have at least one approval, no pending requests for changes, and a CI started.
Issues and PRs related to the tty subsystem.