diff options
author | Hisham <hisham@gobolinux.org> | 2016-02-19 13:38:02 -0200 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-02-19 13:38:02 -0200 |
commit | c23d4f12d165c79be9f95da746914b94378d56c0 (patch) | |
tree | e683327bfb65fed1f97d83a4a801d818ef78b745 /InfoScreen.c | |
parent | 48254f92e4902ecd2b8ca27ae979b7d70e1ca804 (diff) |
Fix behavior of ESC key, getting rid of the annoying delay.
Thank you @Explorer09 for the push!
Closes #417.
Diffstat (limited to 'InfoScreen.c')
-rw-r--r-- | InfoScreen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/InfoScreen.c b/InfoScreen.c index 7ce9ca6a..a6dd55ad 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -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) { |