Windows: reset brightness when reverting to default text color
This commit is contained in:
parent
e2565c332a
commit
443445a3c6
@ -1096,6 +1096,7 @@ static int uv_tty_set_style(uv_tty_t* handle, DWORD* error) {
|
||||
} else if (arg == 39) {
|
||||
/* Default text color */
|
||||
fg_color = 7;
|
||||
fg_bright = 0;
|
||||
|
||||
} else if (arg >= 40 && arg <= 47) {
|
||||
/* Set background color */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user