diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-16 11:10:41 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-16 11:10:41 +0000 |
commit | 3fca33119e4fd7216a1ea9941e59416f7ab38ef9 (patch) | |
tree | 6ba2734b6f05a96e13aab7e6b1f778d1c0e2f3e7 /curs_lib.c | |
parent | 04587f336b4ba01a2574ed294fec7275b20cfb0d (diff) |
SLang-related fixes to mutt_endwin().
Diffstat (limited to 'curs_lib.c')
-rw-r--r-- | curs_lib.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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); } |