summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-01-08 09:37:01 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-01-08 09:37:01 +0000
commit33acfb1e353466b3668b7c54cc884ddf4e8ef092 (patch)
tree7cef34a08178a01a9cf452f13ffcfab25ddb7a9e /curs_lib.c
parent54ac0936a97a76a4274378db26c774aad91b4f2e (diff)
patch-1.1.1.me.endwin.1, from Michael Elkins.
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 464e7004..d67fdf1a 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -263,23 +263,14 @@ void mutt_endwin (const char *msg)
{
if (!option (OPTNOCURSES))
{
-#ifdef USE_SLANG_CURSES
CLEARLINE (LINES - 1);
- move (LINES - 1, 0);
-#else
- move (LINES - 1, COLS - 1);
- CLEARLINE (LINES - 1);
-#endif
attrset (A_NORMAL);
mutt_refresh ();
endwin ();
-#ifndef USE_SLANG_CURSES
- fputc ('\n', stdout);
-#endif
}
- if (msg)
+ if (msg && *msg)
puts (msg);
}