From a667171ad855fdebb8a34c02aa0383c8982bfa48 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 17 Dec 1998 00:52:58 +0000 Subject: [PATCH] Don't even try to clear the status line when not in curses mode. --- curs_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/curs_lib.c b/curs_lib.c index 7d5990a65..2a6a5649c 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) -- 2.40.0