Commit 645057d8 authored by Hisham's avatar Hisham
Browse files

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

parent 6c1be632
...@@ -116,7 +116,7 @@ void InfoScreen_run(InfoScreen* this) { ...@@ -116,7 +116,7 @@ void InfoScreen_run(InfoScreen* this) {
if (this->inc->active) if (this->inc->active)
move(LINES-1, CRT_cursorX); move(LINES-1, CRT_cursorX);
ESCDELAY = 25; set_escdelay(25);
int ch = getch(); int ch = getch();
if (ch == ERR) { if (ch == ERR) {
......
...@@ -189,7 +189,7 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) { ...@@ -189,7 +189,7 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) {
} }
int prevCh = ch; int prevCh = ch;
ESCDELAY = 25; set_escdelay(25);
ch = getch(); ch = getch();
HandlerResult result = IGNORED; HandlerResult result = IGNORED;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment