diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2022-12-20 23:24:24 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-12-21 01:35:08 +0900 |
| commit | a7a771b92b9e802f71f807b87526f43707020ef8 (patch) | |
| tree | e177baf8ee47ae844d040adca683ada68adf4124 /src | |
| parent | def011c0291741b0ab3566a01d939374712719c8 (diff) | |
| download | fzf-a7a771b92b9e802f71f807b87526f43707020ef8.tar.gz | |
Break out of jump mode when any action is submitted to the server
Diffstat (limited to 'src')
| -rw-r--r-- | src/terminal.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go index 0d99637c..1ff40412 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -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()] } |
