From: tholo Date: Thu, 5 Sep 1996 03:20:07 +0000 (+0000) Subject: Add strategic fflush() before suspending on keyboard generated signal X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f0fd972a5e09877c00b1fddae872e8664c60ac4c;p=openbsd Add strategic fflush() before suspending on keyboard generated signal --- diff --git a/lib/libcurses/lib_tstp.c b/lib/libcurses/lib_tstp.c index 73be68af51c..7adca9e8cfd 100644 --- a/lib/libcurses/lib_tstp.c +++ b/lib/libcurses/lib_tstp.c @@ -117,6 +117,7 @@ static void tstp(int dummy) * original (pre-curses) modes. */ endwin(); +fflush(stdout); /* Unblock SIGTSTP. */ (void)sigemptyset(&mask);