mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Fix bug 1538463.
This commit is contained in:
parent
b10821aae9
commit
cc5af25e11
1
CRT.c
1
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;
|
||||
|
@ -165,4 +165,5 @@ void TraceScreen_run(TraceScreen* this) {
|
||||
kill(child, SIGTERM);
|
||||
waitpid(child, NULL, 0);
|
||||
fclose(strace);
|
||||
CRT_enableDelay();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user