mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-28 08:05:53 +00:00
Stop processing more actions after a terminal action (accept, abort, etc.)
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -299,4 +299,9 @@ class TestFilter < TestBase
|
||||
assert_equal expected, result
|
||||
end
|
||||
end
|
||||
|
||||
def test_abort_action_chain
|
||||
assert_equal '1', `seq 100 | #{FZF} --bind 'load:accept+up+up'`.chomp
|
||||
assert_equal '', `seq 100 | #{FZF} --bind 'load:abort+become(echo {})'`.chomp
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user