Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-02-15 01:00:09 +0300
committerChristopher Faylor <me@cgf.cx>2001-02-15 01:00:09 +0300
commit8f8e7442bb5afe429f6bdf1316ea7527b6a62e54 (patch)
treef2004211ffec242c04cac58c0748136f0e4c255e /winsup/cygwin/fhandler_console.cc
parent61ee24b56c32cb90030f4cb7f522bbbae6324456 (diff)
* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
rendition codes in \033[xx;yym control sequences
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc7
1 files changed, 0 insertions, 7 deletions
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;