Break out of jump mode when any action is submitted to the server

pull/3097/head^2
Junegunn Choi 1 year ago
parent def011c029
commit a7a771b92b

@ -3070,7 +3070,12 @@ func (t *Terminal) Loop() {
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 {
actions = t.keymap[event.Comparable()]
}

Loading…
Cancel
Save