From 3cd2547e91fb3fee1b331c5fa97244d6a20e9d0b Mon Sep 17 00:00:00 2001 From: Junegunn Choi <junegunn.c@gmail.com> Date: Sat, 19 Nov 2016 23:03:27 +0900 Subject: [PATCH] Reduce ESC delay to 100ms --- src/tui/ncurses.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tui/ncurses.go b/src/tui/ncurses.go index 205e643b..fc15b807 100644 --- a/src/tui/ncurses.go +++ b/src/tui/ncurses.go @@ -103,8 +103,8 @@ func Init(theme *ColorTheme, black bool, mouse bool) { C.raw() // stty dsusp undef C.nonl() C.keypad(C.stdscr, true) - C.set_escdelay(200) - C.timeout(100) // ESCDELAY 200ms + timeout 100ms + C.set_escdelay(100) + C.timeout(100) // ESCDELAY 100ms + timeout 100ms _color = theme != nil if _color { -- GitLab