mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 12:44:34 +03:00
Fix behavior of ESC key, getting rid of the annoying delay.
Thank you @Explorer09 for the push! Closes #417.
This commit is contained in:
@ -116,6 +116,7 @@ void InfoScreen_run(InfoScreen* this) {
|
||||
|
||||
if (this->inc->active)
|
||||
move(LINES-1, CRT_cursorX);
|
||||
ESCDELAY = 25;
|
||||
int ch = getch();
|
||||
|
||||
if (ch == ERR) {
|
||||
|
Reference in New Issue
Block a user