summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-11-15 14:26:28 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-11-15 14:26:28 +0000
commitd1868e8f07575454bdd3f87fc2832fcccd2832bb (patch)
tree90ff5e022b869fbcf13fcc49c0204ce17757e55e /src
parenta3b5c74512f273b71cee08f7388d4386d8a28f0c (diff)
ncurses: set ESCDELAY to 25 so that esc key lag is less noticeable
Diffstat (limited to 'src')
-rw-r--r--src/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index f513bb17..609efed0 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -159,6 +159,7 @@ void init_ncurses()
keypad(stdscr, true);
curs_set(2);
start_color();
+ ESCDELAY=25;
}
void deinit_ncurses()