diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-07 19:16:16 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-07 19:16:16 +0900 |
| commit | 9c2f6cae88aa46b5dd54edd813dd1604aa6d5386 (patch) | |
| tree | d438ca4f6951d5d9f8a61988452ff518b4ea9727 /test | |
| parent | a30181e2407057435763ef1bfb444cc8aaa29d38 (diff) | |
| download | fzf-9c2f6cae88aa46b5dd54edd813dd1604aa6d5386.tar.gz | |
Fix adaptive height with --header-border
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test_go.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 8f52fd62..edefebd1 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -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 |
