about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index abfc421..ec43bd9 100644
--- a/input.c
+++ b/input.c
@@ -135,7 +135,7 @@ void inputInit(void) {
 
 	keypad(uiInput, true);
 	nodelay(uiInput, true);
-	notimeout(uiInput, inputMode == InputVi);
+	ESCDELAY = (inputMode == InputVi ? 50 : 1000);
 }
 
 static void inputAdd(struct Style reset, struct Style *style, const char *str) {