From b2dc1e6d64874182d460b81c10ec6165baad3780 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 14 Sep 2012 17:50:45 +0200 Subject: [PATCH] win/tty: reset background brightness when color is set to default --- src/win/tty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/tty.c b/src/win/tty.c index 340bcdcb..d290ce2e 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -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 */