linux - Which ANSI code should I use to make text muted (dark gray)? -
when use code 1;30m
produces different results:
xshell 5: gray , bold phpstorm terminal: bold windows console: gray
the goal make part of text muted, if possible, should display in terminal clients.
anyway don't understand how "bold" flag can change foreground color. doing wrong?
ansi didn't specify that. ansi listed black, red, etc., , mentions bold. how particular terminal displays bold+black implementation-defined (no standard applies).
"ansi" refers x3.64, withdrawn many years ago, replaced ecma-48 (aka iso 6429).
for amusement:
- ecma-48: control functions coded character sets
- aren't bright colors same bold? (xterm faq)
- how color vt100? (ncurses faq)
Comments
Post a Comment