Skip to content
Myr

Reduce ESC delay to 100ms

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 8c661d4 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/tui/ncurses.go+2 added-2 removed
101 unmodified lines
102 C.noecho()103 C.raw() // stty dsusp undef104 C.nonl()105 C.keypad(C.stdscr, true)106 C.set_escdelay(200)107 C.timeout(100) // ESCDELAY 200ms + timeout 100ms106 C.set_escdelay(100)107 C.timeout(100) // ESCDELAY 100ms + timeout 100ms108109 _color = theme != nil110 if _color {111 C.start_color()
340 unmodified lines