From: Sam Leffler Date: Sat, 25 Jun 1983 17:53:18 +0000 (-0800) Subject: fix ^Z X-Git-Tag: BSD-4_2-Snapshot-Development~1330 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/3f21a821fc7fa8cdd4e30947b1c7063e3e0fae57 fix ^Z SCCS-vsn: games/canfield/canfield/canfield.c 4.8 --- diff --git a/usr/src/games/canfield/canfield/canfield.c b/usr/src/games/canfield/canfield/canfield.c index 778f037b22..4145a2a4f2 100644 --- a/usr/src/games/canfield/canfield/canfield.c +++ b/usr/src/games/canfield/canfield/canfield.c @@ -1,6 +1,6 @@ /* Copyright (c) 1982 Regents of the University of California */ -static char sccsid[] = "@(#)canfield.c 4.7 %G%"; +static char sccsid[] = "@(#)canfield.c 4.8 %G%"; /* * The canfield program @@ -1256,6 +1256,7 @@ suspend() #endif raw(); noecho(); + wrefresh(curscr); } /* @@ -1596,6 +1597,7 @@ main(argc, argv) signal(SIGHUP, cleanup); signal(SIGTERM, cleanup); initscr(); + signal(SIGTSTP, SIG_DFL); /* avoid tstp in curses */ raw(); noecho(); initall();