From: Thomas Roessler Date: Sat, 8 Jan 2000 09:37:01 +0000 (+0000) Subject: patch-1.1.1.me.endwin.1, from Michael Elkins. X-Git-Tag: mutt-1-1-2-rel~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33acfb1e353466b3668b7c54cc884ddf4e8ef092;p=mutt patch-1.1.1.me.endwin.1, from Michael Elkins. --- 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); }