m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -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

@@ -475,6 +475,8 @@ func (r *FullscreenRenderer) GetChar() Event {
return escSequence()
case 127:
return Event{BSpace, 0, nil}
case 0:
return Event{CtrlSpace, 0, nil}
}
// CTRL-A ~ CTRL-Z
if c >= CtrlA && c <= CtrlZ {