Reduce ESC delay to 100ms

This commit is contained in:
Junegunn Choi 2016-11-19 23:03:27 +09:00
parent 8c661d4e8c
commit 3cd2547e91
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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 {