Fix bug 1538463.

This commit is contained in:
Hisham Muhammad 2006-08-24 21:28:29 +00:00
parent b10821aae9
commit cc5af25e11
2 changed files with 2 additions and 0 deletions

1
CRT.c
View File

@ -160,6 +160,7 @@ void CRT_done() {
int CRT_readKey() {
nocbreak();
cbreak();
nodelay(stdscr, FALSE);
int ret = getch();
halfdelay(CRT_delay);
return ret;

View File

@ -165,4 +165,5 @@ void TraceScreen_run(TraceScreen* this) {
kill(child, SIGTERM);
waitpid(child, NULL, 0);
fclose(strace);
CRT_enableDelay();
}