From f0fd972a5e09877c00b1fddae872e8664c60ac4c Mon Sep 17 00:00:00 2001 From: tholo Date: Thu, 5 Sep 1996 03:20:07 +0000 Subject: [PATCH] Add strategic fflush() before suspending on keyboard generated signal --- lib/libcurses/lib_tstp.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.20.1