mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-13 22:03:47 -05:00
Stop processing more actions after a terminal action (accept, abort, etc.)
This commit is contained in:
@@ -4831,6 +4831,10 @@ func (t *Terminal) Loop() error {
|
||||
if !doAction(action) {
|
||||
return false
|
||||
}
|
||||
// A terminal action performed. We should stop processing more.
|
||||
if !looping {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
if onFocus, prs := t.keymap[tui.Focus.AsEvent()]; prs && iter < maxFocusEvents {
|
||||
|
||||
Reference in New Issue
Block a user