summaryrefslogtreecommitdiff
path: root/test/test_preview.rb
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-02 02:22:47 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-02 02:23:48 +0900
commit0c61223884f3bccde7c28f4a9ca06819bdd1e427 (patch)
treecb77da44c967b96a06fcfc1d24f5eae737a0ec8f /test/test_preview.rb
parent32234be7a271196b62689974bf2002034f7e712e (diff)
downloadfzf-0c61223884f3bccde7c28f4a9ca06819bdd1e427.tar.gz
Fix tcell renderer's pause and resume
Diffstat (limited to 'test/test_preview.rb')
-rw-r--r--test/test_preview.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_preview.rb b/test/test_preview.rb
index d4faffa5..ee1a5672 100644
--- a/test/test_preview.rb
+++ b/test/test_preview.rb
@@ -524,7 +524,7 @@ class TestPreview < TestInteractive
end
def test_alternative_preview_window_opts
- tmux.send_keys "seq 10 | #{FZF} --preview-window '~5,2,+0,<100000(~0,+100,wrap,noinfo)' --preview 'seq 1000'", :Enter
+ tmux.send_keys "seq 10 | #{FZF} --preview-border rounded --preview-window '~5,2,+0,<100000(~0,+100,wrap,noinfo)' --preview 'seq 1000'", :Enter
tmux.until { |lines| assert_equal 10, lines.match_count }
tmux.until do |lines|
assert_equal ['╭────╮', '│ 10 │', '│ 0 │', '│ 10 │', '│ 1 │'], lines.take(5).map(&:strip)