diff options
author | June McEnroe <june@causal.agency> | 2022-03-12 16:34:11 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-03-12 16:34:11 -0500 |
commit | 4a9e2ad86e5279a446848e8efc80e99e23c5e640 (patch) | |
tree | dff0578dfeebb66431e7d6460362138c6f2d02b5 | |
parent | Call editVi from input.c (diff) | |
download | catgirl-4a9e2ad86e5279a446848e8efc80e99e23c5e640.tar.gz catgirl-4a9e2ad86e5279a446848e8efc80e99e23c5e640.zip |
Lower ESCDELAY in vi mode
-rw-r--r-- | input.c | 2 |
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) { |