diff options
-rw-r--r-- | listbas.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -104,7 +104,8 @@ void color_on(unsigned char c) { } void color_off(void) { - fputs("\x1b[0m", outfh); + /* fputs("\x1b[0m", outfh); */ /* NO: clears inverse, too! */ + fputs("\x1b[39;49m", outfh); } void print_number(unsigned int pos) { @@ -156,7 +157,8 @@ void start_inv(unsigned char c) { void end_inv(unsigned char c) { if(utf8) { - fputs("\x1b[0m", outfh); + /* fputs("\x1b[0m", outfh); */ /* NO: turns off color, too. */ + fputs("\x1b[27m", outfh); inv = 0; } else if(magazine) { if(affects_inv(c)) { |