mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Reduce ESC delay to 100ms
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user