win/tty: reset background brightness when color is set to default
This commit is contained in:
parent
1988f5e581
commit
b2dc1e6d64
@ -1113,6 +1113,7 @@ static int uv_tty_set_style(uv_tty_t* handle, DWORD* error) {
|
||||
} else if (arg == 49) {
|
||||
/* Default background color */
|
||||
bg_color = 0;
|
||||
bg_bright = 0;
|
||||
|
||||
} else if (arg >= 90 && arg <= 97) {
|
||||
/* Set bold foreground color */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user