Check for set_escdelay in ncurses

This commit is contained in:
Benny Baumann
2021-07-04 16:50:41 +02:00
parent 874fb773a7
commit 18e3fd5ce7
3 changed files with 7 additions and 0 deletions

View File

@ -94,7 +94,9 @@ void InfoScreen_run(InfoScreen* this) {
if (this->inc->active) {
(void) move(LINES - 1, CRT_cursorX);
}
#ifdef HAVE_SET_ESCDELAY
set_escdelay(25);
#endif
int ch = getch();
if (ch == ERR) {