diff --git a/InfoScreen.c b/InfoScreen.c index a6dd55ad..085b860f 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -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) { diff --git a/ScreenManager.c b/ScreenManager.c index db3fdee4..44e74e05 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -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;