Add 'best' action

This commit is contained in:
Junegunn Choi committed 2025-10-09 00:17:00 +09:00
1 parent ed7becfb47
commit d19ce0ad8d
5 files changed
+68 -22

No files matched your search

+8
View File
@@ -102,4 +102,12 @@ class TestRaw < TestInteractive
assert_includes it, '▌ 25'
end
end
def test_raw_best
tmux.send_keys %(seq 1000 | #{FZF} --raw --bind space:best), :Enter
tmux.send_keys 999
tmux.until { assert_includes it, '> 1' }
tmux.send_keys :Space
tmux.until { assert_includes it, '> 999' }
end
end