summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-12-16 11:10:41 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-12-16 11:10:41 +0000
commit3fca33119e4fd7216a1ea9941e59416f7ab38ef9 (patch)
tree6ba2734b6f05a96e13aab7e6b1f778d1c0e2f3e7 /curs_lib.c
parent04587f336b4ba01a2574ed294fec7275b20cfb0d (diff)
SLang-related fixes to mutt_endwin().
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c12
1 files changed, 12 insertions, 0 deletions
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);
}