From c23d4f12d165c79be9f95da746914b94378d56c0 Mon Sep 17 00:00:00 2001 From: Hisham Date: Fri, 19 Feb 2016 13:38:02 -0200 Subject: Fix behavior of ESC key, getting rid of the annoying delay. Thank you @Explorer09 for the push! Closes #417. --- InfoScreen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'InfoScreen.c') diff --git a/InfoScreen.c b/InfoScreen.c index 7ce9ca6a..a6dd55ad 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -116,6 +116,7 @@ void InfoScreen_run(InfoScreen* this) { if (this->inc->active) move(LINES-1, CRT_cursorX); + ESCDELAY = 25; int ch = getch(); if (ch == ERR) { -- cgit v1.2.3