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

Add support for ctrl-space key

Close #825
This commit is contained in:
Junegunn Choi
2017-01-28 02:54:47 +09:00
parent 421b9b271a
commit 36dceecd58
7 changed files with 11 additions and 0 deletions

View File

@@ -322,6 +322,8 @@ func (r *LightRenderer) GetChar() Event {
return Event{CtrlQ, 0, nil}
case 127:
return Event{BSpace, 0, nil}
case 0:
return Event{CtrlSpace, 0, nil}
case ESC:
ev := r.escSequence(&sz)
// Second chance