From 443445a3c61d2ce5020c9e4bc2ee9a10bc7560fc Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sun, 5 Feb 2012 19:54:04 +0100 Subject: [PATCH] Windows: reset brightness when reverting to default text color --- src/win/tty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/tty.c b/src/win/tty.c index e61fc7e2..556875d4 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -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 */