]> granicus.if.org Git - mutt/commitdiff
SLang-related fixes to mutt_endwin().
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 16 Dec 1998 11:10:41 +0000 (11:10 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 16 Dec 1998 11:10:41 +0000 (11:10 +0000)
curs_lib.c

index 1787c09eb51d0c69679950284861519788266976..7d5990a652d5841a5f66d86c0d99a1b311c570ee 100644 (file)
@@ -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);
 }