* fhandler_console.cc (fhandler_console::char_command): Ignore unknown

rendition codes in \033[xx;yym control sequences
This commit is contained in:
Christopher Faylor 2001-02-14 22:00:09 +00:00
parent 61ee24b56c
commit 8f8e7442bb
2 changed files with 5 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2001-02-14 Egor Duda <deo@logos-m.ru>
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
rendition codes in \033[xx;yym control sequences
Fri Feb 9 23:19:01 2001 Christopher Faylor <cgf@cygnus.com>
* fork.cc (fork_parent): Return EAGAIN when can't record pid.

View File

@ -986,13 +986,6 @@ fhandler_console::char_command (char c, bool saw_question_mark)
case 47: /* WHITE background */
bg = BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED;
break;
default:
fg = default_color & (FOREGROUND_BLUE | FOREGROUND_GREEN |
FOREGROUND_RED);
bg = default_color & (BACKGROUND_BLUE | BACKGROUND_GREEN |
BACKGROUND_RED | BACKGROUND_INTENSITY);
bold = default_color & FOREGROUND_INTENSITY;
break;
}
SetConsoleTextAttribute (get_output_handle (), fg | bg | bold);
break;