Fix behavior of ESC key, getting rid of the annoying delay.

Thank you @Explorer09 for the push!
Closes #417.
This commit is contained in:
Hisham
2016-02-19 13:38:02 -02:00
parent 48254f92e4
commit c23d4f12d1
4 changed files with 17 additions and 22 deletions

View File

@ -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) {