summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-12-17 00:52:58 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-12-17 00:52:58 +0000
commite79fa233752a8a9e467c07c73f2b0970928787a1 (patch)
treec38e590d90a51451a6b69bad4e18c98c161708ff /curs_lib.c
parent72c45f7bad2122e52a27c54fd19be315ad8e4783 (diff)
Don't even try to clear the status line when not in curses mode.
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c3
1 files changed, 2 insertions, 1 deletions
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)