From 39bca9c58abca847296d50f91cf4572b78333962 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Thu, 5 Sep 1996 03:20:08 +0000 Subject: Add strategic fflush() before suspending on keyboard generated signal --- lib/libcurses/lib_tstp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libcurses') 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); -- cgit v1.2.3