From 4a9e2ad86e5279a446848e8efc80e99e23c5e640 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 12 Mar 2022 16:34:11 -0500 Subject: Lower ESCDELAY in vi mode --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') 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) { -- cgit 1.4.1