Use set_escdelay() to avoid problems with ESCDELAY as a macro.

This commit is contained in:
Hisham 2016-05-19 16:09:47 -03:00
parent 6c1be63291
commit 645057d81a
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ void InfoScreen_run(InfoScreen* this) {
if (this->inc->active)
move(LINES-1, CRT_cursorX);
ESCDELAY = 25;
set_escdelay(25);
int ch = getch();
if (ch == ERR) {

View File

@ -189,7 +189,7 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
}
int prevCh = ch;
ESCDELAY = 25;
set_escdelay(25);
ch = getch();
HandlerResult result = IGNORED;