diff options
author | 1996-09-05 03:20:07 +0000 | |
---|---|---|
committer | 1996-09-05 03:20:07 +0000 | |
commit | f0fd972a5e09877c00b1fddae872e8664c60ac4c (patch) | |
tree | 7865b9c7750683b99a18483743a0d29e9bef83c9 | |
parent | document latest rcmd change (diff) | |
download | wireguard-openbsd-f0fd972a5e09877c00b1fddae872e8664c60ac4c.tar.xz wireguard-openbsd-f0fd972a5e09877c00b1fddae872e8664c60ac4c.zip |
Add strategic fflush() before suspending on keyboard generated signal
-rw-r--r-- | lib/libcurses/lib_tstp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |