Bright ANSI colors are missing & 0 does not reset
Reported by
harald.d...@gmail.com,
Nov 30
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 Steps to reproduce the problem: 1. Open console. 2. Run code that prints ANSI escapes (see attached example code) What is the expected behavior? 1. Text has the corresponding colors. 2. After the 0 code (reset), text returns to the default style. What went wrong? 1. Some colors are missing, notably bright red & bright magenta for both foreground & background. 2. Reset code (0) is not applied and the whole line has the style of the applied modifiers. For reference see the output from Node in a system terminal (CMD). Did this work before? N/A Chrome version: 70.0.3538.110 Channel: stable OS Version: 10.0 Flash Version:
,
Nov 30
Apparently, Chrome uses the "X" variant of ANSI colors: https://en.wikipedia.org/wiki/ANSI_escape_code#Colors I think it's the worst choice of the 8 listed in the wiki because 1) it's missing several bright colors 2) its main colors are overly bright 3) its bright colors are too washed out and desaturated Relevant CL: r575767
,
Nov 30
Oh, that makes sense and I completely agree.
,
Nov 30
,
Dec 4
|
|||
►
Sign in to add a comment |
|||
Comment 1 Deleted