* fhandler_console.cc (fhandler_console::char_command): Ignore unknown
rendition codes in \033[xx;yym control sequences
This commit is contained in:
parent
61ee24b56c
commit
8f8e7442bb
|
@ -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>
|
Fri Feb 9 23:19:01 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
|
* fork.cc (fork_parent): Return EAGAIN when can't record pid.
|
||||||
|
|
|
@ -986,13 +986,6 @@ fhandler_console::char_command (char c, bool saw_question_mark)
|
||||||
case 47: /* WHITE background */
|
case 47: /* WHITE background */
|
||||||
bg = BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED;
|
bg = BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED;
|
||||||
break;
|
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);
|
SetConsoleTextAttribute (get_output_handle (), fg | bg | bold);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue