]> granicus.if.org Git - mutt/commitdiff
Don't even try to clear the status line when not in curses mode.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 17 Dec 1998 00:52:58 +0000 (00:52 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 17 Dec 1998 00:52:58 +0000 (00:52 +0000)
curs_lib.c

index 7d5990a652d5841a5f66d86c0d99a1b311c570ee..2a6a5649c0f1ff32635a4d16103ab3b1a7cba54c 100644 (file)
@@ -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)