From cc5af25e11c6be88ffb959c616a71800162f48d6 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 24 Aug 2006 21:28:29 +0000 Subject: [PATCH] Fix bug 1538463. --- CRT.c | 1 + TraceScreen.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CRT.c b/CRT.c index 9c283c9b..8bd29f08 100644 --- a/CRT.c +++ b/CRT.c @@ -160,6 +160,7 @@ void CRT_done() { int CRT_readKey() { nocbreak(); cbreak(); + nodelay(stdscr, FALSE); int ret = getch(); halfdelay(CRT_delay); return ret; diff --git a/TraceScreen.c b/TraceScreen.c index ff470c4f..03534226 100644 --- a/TraceScreen.c +++ b/TraceScreen.c @@ -165,4 +165,5 @@ void TraceScreen_run(TraceScreen* this) { kill(child, SIGTERM); waitpid(child, NULL, 0); fclose(strace); + CRT_enableDelay(); }