From: Thomas Roessler Date: Wed, 16 Dec 1998 11:10:41 +0000 (+0000) Subject: SLang-related fixes to mutt_endwin(). X-Git-Tag: archive/mutt-0-95-exp~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fca33119e4fd7216a1ea9941e59416f7ab38ef9;p=mutt SLang-related fixes to mutt_endwin(). --- diff --git a/curs_lib.c b/curs_lib.c index 1787c09e..7d5990a6 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -244,11 +244,23 @@ void mutt_show_error (void) void mutt_endwin (const char *msg) { + +#ifdef 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 SLANG_CURSES fputc ('\n', stdout); +#endif + if (msg) puts (msg); }