From 8f8e7442bb5afe429f6bdf1316ea7527b6a62e54 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 14 Feb 2001 22:00:09 +0000 Subject: [PATCH] * fhandler_console.cc (fhandler_console::char_command): Ignore unknown rendition codes in \033[xx;yym control sequences --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_console.cc | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 194515e4c..25ab74b5f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2001-02-14 Egor Duda + + * 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 * fork.cc (fork_parent): Return EAGAIN when can't record pid. diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 54da3b71f..788dff3d8 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -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;