m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Printable character in --expect set should not affect --print-query

This commit is contained in:
Junegunn Choi
2016-09-18 04:45:21 +09:00
parent 1854922f0c
commit 401a5fd5ff
2 changed files with 12 additions and 2 deletions

View File

@@ -1079,8 +1079,9 @@ func (t *Terminal) Loop() {
for key, ret := range t.expect {
if keyMatch(key, event) {
t.pressed = ret
req(reqClose)
break
t.reqBox.Set(reqClose, nil)
t.mutex.Unlock()
return
}
}