New answers tagged

0

You are using the wrong escape sequence. It's close (begins with escape[, ends with m), but the wrong parameters. There are at least three SGR (select graphic rendition) escape sequences which are used to print colors in xterm and similar terminals: ANSI (colors 0-7), which use parameters 30-37 (foreground) and 40-47 (background) aixterm (colors 8-15), ...



Top 50 recent answers are included