mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-05-31 06:30:47 +00:00
Fix #1657: alt-0 to alt-9
This commit is contained in:
parent
6577388250
commit
3b1e37f718
|
@ -518,6 +518,9 @@ func (r *LightRenderer) escSequence(sz *int) Event {
|
|||
if r.buffer[1] >= 'a' && r.buffer[1] <= 'z' {
|
||||
return Event{AltA + int(r.buffer[1]) - 'a', 0, nil}
|
||||
}
|
||||
if r.buffer[1] >= '0' && r.buffer[1] <= '9' {
|
||||
return Event{Alt0 + int(r.buffer[1]) - '0', 0, nil}
|
||||
}
|
||||
return Event{Invalid, 0, nil}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user