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(); }