Can't get more then handful of colors in iTerm2 (3.2.7)
See original GitHub issueI am using iTerm 3.2.7 can display 16M color, but debug-module will display only 16 colors.
This perl script can test color support in terminal: https://github.com/robertknight/konsole/blob/master/tests/color-spaces.pl (source: https://apple.stackexchange.com/q/190167/265202)
Thank you for your help.
my debug test script:
const supportsColor = require('supports-color');
if (supportsColor.stdout) {
console.log('Terminal stdout supports color');
}
if (supportsColor.stdout.has256) {
console.log('Terminal stdout supports 256 colors');
}
if (supportsColor.stderr.has16m) {
console.log('Terminal stderr supports 16 million colors (truecolor)');
}
const e1 = require('debug')('jest:1');
const e2 = require('debug')('jest:2');
const e3 = require('debug')('jest:3');
const e4 = require('debug')('jest:4');
const e5 = require('debug')('jest:5');
const e6 = require('debug')('jest:6');
const e7 = require('debug')('jest:7');
const e8 = require('debug')('jest:8');
const e9 = require('debug')('jest:9');
const e10 = require('debug')('jest:10');
const e11 = require('debug')('jest:11');
const e12 = require('debug')('jest:12');
const e13 = require('debug')('jest:13');
const e14 = require('debug')('jest:14');
const e15 = require('debug')('jest:15');
const e16 = require('debug')('jest:16');
const e17 = require('debug')('jest:17');
const e18 = require('debug')('jest:18');
e1('test');
e2('test');
e3('test');
e4('test');
e5('test');
e6('test');
e7('test');
e8('test');
e9('test');
e10('test');
e11('test');
e12('test');
e13('test');
e14('test');
e15('test');
e16('test');
e17('test');
e18('test');
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Can't get more then handful of colors in iTerm2 (3.2.7) #682
I am using iTerm 3.2.7 can display 16M color, but debug-module will display only 16 colors. This perl script can test color support...
Read more >Downloads - iTerm2 - macOS Terminal Replacement
iTerm2 is a replacement for Terminal and the successor to iTerm.
Read more >Color scheme not applied in iTerm2 - Super User
I've been having the same issue and this is what seems to have solved it: In your .bash_profile set CLICOLOR before setting TERM:...
Read more >lose vim colorscheme in tmux mode - Stack Overflow
2, iTerm2 Build 1.0.0.20130622 export TERM="xterm-256color" in .bash_profile, then set iterm to xterm-256-color worked for me. No need to set ...
Read more >24bit color reporting in terminfo? - Google Groups
(context: iTerm 3.2.7, macOS 10.14 18A390, ncurses 6.1.20180127 via MacPorts). I've been exploring 24bit color support, and I think there's a couple places ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a well known problem that isn’t really an ‘issue’ per se. Pm2 would have to allocate a pseudo terminal. This is just how terminals work.
Nevermind, I’m an idiot.