summaryrefslogtreecommitdiff
path: root/lib/libcurses/lib_tstp.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-05 05:09:12 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-05 05:09:12 +0000
commit200166ff84dc3b1032b270b61d0a97880fb1649a (patch)
treed8b9c893c41951112042b50cadbc7f957c357731 /lib/libcurses/lib_tstp.c
parent39bca9c58abca847296d50f91cf4572b78333962 (diff)
Move fflush() from signal handler into endwin(), that way it will work in
some other common situations too.
Diffstat (limited to 'lib/libcurses/lib_tstp.c')
-rw-r--r--lib/libcurses/lib_tstp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libcurses/lib_tstp.c b/lib/libcurses/lib_tstp.c
index 7adca9e8cfd..73be68af51c 100644
--- a/lib/libcurses/lib_tstp.c
+++ b/lib/libcurses/lib_tstp.c
@@ -117,7 +117,6 @@ static void tstp(int dummy)
* original (pre-curses) modes.
*/
endwin();
-fflush(stdout);
/* Unblock SIGTSTP. */
(void)sigemptyset(&mask);