artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c85263
)
Add strategic fflush() before suspending on keyboard generated signal
author
tholo
<tholo@openbsd.org>
Thu, 5 Sep 1996 03:20:07 +0000
(
03:20
+0000)
committer
tholo
<tholo@openbsd.org>
Thu, 5 Sep 1996 03:20:07 +0000
(
03:20
+0000)
lib/libcurses/lib_tstp.c
patch
|
blob
|
history
diff --git
a/lib/libcurses/lib_tstp.c
b/lib/libcurses/lib_tstp.c
index
73be68a
..
7adca9e
100644
(file)
--- 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);