]> granicus.if.org Git - mutt/commitdiff
patch-1.1.1.me.endwin.1, from Michael Elkins.
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 8 Jan 2000 09:37:01 +0000 (09:37 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 8 Jan 2000 09:37:01 +0000 (09:37 +0000)
curs_lib.c

index 464e700409bd241eb4477a44168ce4bc30637108..d67fdf1a7fb6a25b4eb4abb84440a31ef35b6f84 100644 (file)
@@ -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);
 }