From: Thomas Roessler Date: Thu, 17 Dec 1998 00:52:58 +0000 (+0000) Subject: Don't even try to clear the status line when not in curses mode. X-Git-Tag: archive/mutt-0-95-exp~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e79fa233752a8a9e467c07c73f2b0970928787a1;p=mutt Don't even try to clear the status line when not in curses mode. --- diff --git a/curs_lib.c b/curs_lib.c index 7d5990a6..2a6a5649 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -115,7 +115,8 @@ int mutt_get_password (char *msg, char *buf, size_t buflen) void mutt_clear_error (void) { Errorbuf[0] = 0; - CLEARLINE (LINES-1); + if (!option(OPTNOCURSES)) + CLEARLINE (LINES-1); } void mutt_edit_file (const char *editor, const char *data)