Fix adaptive height with --header-border

This commit is contained in:
Junegunn Choi committed 2025-01-07 19:16:16 +09:00
1 parent a30181e240
commit 9c2f6cae88
2 files changed
+19

No files matched your search

+16
View File
@@ -3702,6 +3702,22 @@ class TestGoFZF < TestBase
BLOCK
tmux.until { assert_block(block, _1) }
end
def test_style_full_adaptive_height
tmux.send_keys %(seq 1| #{FZF} --style=full --height=~100% --header-lines=1 --info=default), :Enter
block = <<~BLOCK
╭────────
╰────────
╭────────
│ 1
╰────────
╭────────
│ 0/0
│ >
╰────────
BLOCK
tmux.until { assert_block(block, _1) }
end
end
module TestShell