aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ucs <git-51d@ug0.fr>2020-08-12 11:55:15 +0200
committerGravatar ucs <git-51d@ug0.fr>2020-08-12 11:55:15 +0200
commit52d3d514cefe8fcd65e4352e95ef03c37c7368bb (patch)
tree382b8e56d766729990b8e2a8396cebd9f212b2f6
parentfb454a50468a523ecc058a2238dfc82ce3e59fd6 (diff)
downloadnnn-52d3d514cefe8fcd65e4352e95ef03c37c7368bb.tar.gz
Revert "Set Escape delay to 0"
An ESCDELAY of 0 can break long escape sequences, such as the arrow keys, on slower terminals. This reverts commit 2599564e6480384b0872174f685c0128276062ca.
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index a6220bb..1f0386b 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1714,7 +1714,7 @@ static bool initcurses(void *oldmask)
}
settimeout(); /* One second */
- set_escdelay(0);
+ set_escdelay(25);
return TRUE;
}