Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent def011c · Browse files · 1 file+6 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−1 removed

  • other:+6 added−1 removed

1 file+6 added−1 removed

modified:src/terminal.go+6 added-1 removed
3068 unmodified lines
3069 }3070 return true3071 }30723073 if t.jumping == jumpDisabled {3073 if t.jumping == jumpDisabled || len(actions) > 0 {3074 // Break out of jump mode if any action is submitted to the server3075 if t.jumping != jumpDisabled {3076 t.jumping = jumpDisabled3077 req(reqList)3078 }3079 if len(actions) == 0 {3080 actions = t.keymap[event.Comparable()]3081 }3082 if len(actions) == 0 && event.Type == tui.Rune {
116 unmodified lines