diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-07-04 16:50:41 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-07-04 16:50:41 +0200 |
commit | 18e3fd5ce79a10aa401bef9575a6c6de8e547d31 (patch) | |
tree | c9d626b063fd85d78b8d9ed614ca4b8cb79183aa /InfoScreen.c | |
parent | 874fb773a71328b65f203fcf4ea5a67202ef5654 (diff) |
Check for set_escdelay in ncurses
Diffstat (limited to 'InfoScreen.c')
-rw-r--r-- | InfoScreen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/InfoScreen.c b/InfoScreen.c index 8f575232..259ecee3 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -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) { |