Windows: reset brightness when reverting to default text color

This commit is contained in:
Bert Belder 2012-02-05 19:54:04 +01:00
parent e2565c332a
commit 443445a3c6

View File

@ -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 */