mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-18 02:55:11 +00:00
Break out of jump mode when any action is submitted to the server
This commit is contained in:
parent
def011c029
commit
a7a771b92b
@ -3070,7 +3070,12 @@ func (t *Terminal) Loop() {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if t.jumping == jumpDisabled {
|
if t.jumping == jumpDisabled || len(actions) > 0 {
|
||||||
|
// Break out of jump mode if any action is submitted to the server
|
||||||
|
if t.jumping != jumpDisabled {
|
||||||
|
t.jumping = jumpDisabled
|
||||||
|
req(reqList)
|
||||||
|
}
|
||||||
if len(actions) == 0 {
|
if len(actions) == 0 {
|
||||||
actions = t.keymap[event.Comparable()]
|
actions = t.keymap[event.Comparable()]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user