mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-11 16:15:46 +00:00
Reduce ESC delay to 100ms
This commit is contained in:
parent
8c661d4e8c
commit
3cd2547e91
@ -103,8 +103,8 @@ func Init(theme *ColorTheme, black bool, mouse bool) {
|
|||||||
C.raw() // stty dsusp undef
|
C.raw() // stty dsusp undef
|
||||||
C.nonl()
|
C.nonl()
|
||||||
C.keypad(C.stdscr, true)
|
C.keypad(C.stdscr, true)
|
||||||
C.set_escdelay(200)
|
C.set_escdelay(100)
|
||||||
C.timeout(100) // ESCDELAY 200ms + timeout 100ms
|
C.timeout(100) // ESCDELAY 100ms + timeout 100ms
|
||||||
|
|
||||||
_color = theme != nil
|
_color = theme != nil
|
||||||
if _color {
|
if _color {
|
||||||
|
Loading…
Reference in New Issue
Block a user