mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-15 10:32:49 +08:00
Add --preview-window follow option
This commit is contained in:
5 files changed
+78
-36
No files matched your search
@@ -1832,6 +1832,11 @@ class TestGoFZF < TestBase
|
||||
tmux.send_keys 'b'
|
||||
tmux.until { |lines| assert_equal 'b> foo', lines[-1] }
|
||||
end
|
||||
|
||||
def test_preview_window_follow
|
||||
tmux.send_keys "#{FZF} --preview 'seq 1000 | nl' --preview-window down:noborder:follow", :Enter
|
||||
tmux.until { |lines| assert_equal '1000 1000', lines[-1].strip }
|
||||
end
|
||||
end
|
||||
|
||||
module TestShell
|
||||
|
||||
Reference in new issue
Block a user