From f89125e0e631f6b87b3a65970d88111825d7dc59 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 5 Mar 2013 20:31:52 +0100 Subject: [PATCH] win/tty: fix typo in color attributes enumeration --- src/win/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/tty.c b/src/win/tty.c index 675f647b..8f7e7657 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -972,7 +972,7 @@ static int uv_tty_move_caret(uv_tty_t* handle, int x, unsigned char x_relative, static int uv_tty_reset(uv_tty_t* handle, DWORD* error) { const COORD origin = {0, 0}; - const WORD char_attrs = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_RED; + const WORD char_attrs = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE; CONSOLE_SCREEN_BUFFER_INFO info; DWORD count, written;