* fhandler_console.cc (fhandler_console::set_default_attr): Update console
color attributes on tty reset.
This commit is contained in:
parent
9991281584
commit
0b30bad456
@ -1,3 +1,8 @@
|
|||||||
|
2001-03-22 Egor Duda <deo@logos-m.ru>
|
||||||
|
|
||||||
|
* fhandler_console.cc (fhandler_console::set_default_attr): Update
|
||||||
|
console color attributes on tty reset.
|
||||||
|
|
||||||
Wed Mar 21 22:12:36 2001 Christopher Faylor <cgf@cygnus.com>
|
Wed Mar 21 22:12:36 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* autoload.cc (kernel32_init): New function for kernel32 autoload
|
* autoload.cc (kernel32_init): New function for kernel32 autoload
|
||||||
|
@ -817,6 +817,8 @@ fhandler_console::set_default_attr ()
|
|||||||
intensity = INTENSITY_NORMAL;
|
intensity = INTENSITY_NORMAL;
|
||||||
fg = default_color & FOREGROUND_ATTR_MASK;
|
fg = default_color & FOREGROUND_ATTR_MASK;
|
||||||
bg = default_color & BACKGROUND_ATTR_MASK;
|
bg = default_color & BACKGROUND_ATTR_MASK;
|
||||||
|
current_win32_attr = get_win32_attr ();
|
||||||
|
SetConsoleTextAttribute (get_output_handle (), current_win32_attr);
|
||||||
}
|
}
|
||||||
|
|
||||||
WORD
|
WORD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user