m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Do not wait for more keystrokes after double escape characters

Close #1393
This commit is contained in:
Junegunn Choi
2018-09-27 15:54:04 +09:00
parent 0d748a0699
commit 72df905902

View File

@@ -381,6 +381,8 @@ func (r *LightRenderer) escSequence(sz *int) Event {
alt = true alt = true
} }
switch r.buffer[1] { switch r.buffer[1] {
case ESC:
return Event{ESC, 0, nil}
case 32: case 32:
return Event{AltSpace, 0, nil} return Event{AltSpace, 0, nil}
case 47: case 47: