Commit cc5af25e authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Fix bug 1538463.

parent b10821aa
...@@ -160,6 +160,7 @@ void CRT_done() { ...@@ -160,6 +160,7 @@ void CRT_done() {
int CRT_readKey() { int CRT_readKey() {
nocbreak(); nocbreak();
cbreak(); cbreak();
nodelay(stdscr, FALSE);
int ret = getch(); int ret = getch();
halfdelay(CRT_delay); halfdelay(CRT_delay);
return ret; return ret;
......
...@@ -165,4 +165,5 @@ void TraceScreen_run(TraceScreen* this) { ...@@ -165,4 +165,5 @@ void TraceScreen_run(TraceScreen* this) {
kill(child, SIGTERM); kill(child, SIGTERM);
waitpid(child, NULL, 0); waitpid(child, NULL, 0);
fclose(strace); fclose(strace);
CRT_enableDelay();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment