diff options
author | 2013-04-08 23:11:35 -0400 | |
---|---|---|
committer | 2013-04-08 23:11:35 -0400 | |
commit | 349cc6da144cd6faafa1b7d65c955c513abafdd2 (patch) | |
tree | fe6c5f25efc8c005b2b1f23804e22c8a959a4104 | |
parent | 3483e4a785b47ed2636764b227ab1c7279ee6dc8 (diff) |
Reduce the delay when pressing the Escape key in curses; src/textadept.c
-rw-r--r-- | src/textadept.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c index 100b37b8..6a41b5a2 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2235,6 +2235,9 @@ int main(int argc, char **argv) { #if _WIN32 raw(), noecho(); #endif +#ifdef NCURSES_REENTRANT + ESCDELAY = getenv("ESCDELAY") ? atoi(getenv("ESCDELAY")) : 100; +#endif #endif char *last_slash = NULL; |