mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-16 23:33:39 -05:00
Allow alt-enter and alt-space for --bind (#571)
This commit is contained in:
@@ -81,6 +81,8 @@ const (
|
||||
F3
|
||||
F4
|
||||
|
||||
AltEnter
|
||||
AltSpace
|
||||
AltBS
|
||||
AltA
|
||||
AltB
|
||||
@@ -417,6 +419,10 @@ func escSequence(sz *int) Event {
|
||||
}
|
||||
*sz = 2
|
||||
switch _buf[1] {
|
||||
case 13:
|
||||
return Event{AltEnter, 0, nil}
|
||||
case 32:
|
||||
return Event{AltSpace, 0, nil}
|
||||
case 98:
|
||||
return Event{AltB, 0, nil}
|
||||
case 100:
|
||||
|
||||
Reference in New Issue
Block a user