From: Michael Elkins Date: Mon, 31 Dec 2012 22:52:22 +0000 (-0800) Subject: reset to color normal before clearing to end of line when printing a message/error... X-Git-Tag: mutt-1-5-22-rel~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56f3ef7b5ed2e47c85313105e109e8a9ad313f83;p=mutt reset to color normal before clearing to end of line when printing a message/error string closes #3617 --- diff --git a/curs_lib.c b/curs_lib.c index 24af11fe..8b11bba2 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -320,8 +320,8 @@ static void curses_message (int error, const char *fmt, va_list ap) BEEP (); SETCOLOR (error ? MT_COLOR_ERROR : MT_COLOR_MESSAGE); mvaddstr (LINES-1, 0, Errorbuf); - clrtoeol (); NORMAL_COLOR; + clrtoeol (); mutt_refresh (); } @@ -465,8 +465,8 @@ void mutt_show_error (void) SETCOLOR (option (OPTMSGERR) ? MT_COLOR_ERROR : MT_COLOR_MESSAGE); mvaddstr(LINES-1, 0, Errorbuf); - clrtoeol(); NORMAL_COLOR; + clrtoeol(); } void mutt_endwin (const char *msg)