Add strategic fflush() before suspending on keyboard generated signal
authortholo <tholo@openbsd.org>
Thu, 5 Sep 1996 03:20:07 +0000 (03:20 +0000)
committertholo <tholo@openbsd.org>
Thu, 5 Sep 1996 03:20:07 +0000 (03:20 +0000)
lib/libcurses/lib_tstp.c

index 73be68a..7adca9e 100644 (file)
@@ -117,6 +117,7 @@ static void tstp(int dummy)
         * original (pre-curses) modes.
         */
        endwin();
+fflush(stdout);
 
        /* Unblock SIGTSTP. */
        (void)sigemptyset(&mask);