From 9c2f6cae88aa46b5dd54edd813dd1604aa6d5386 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 7 Jan 2025 19:16:16 +0900 Subject: Fix adaptive height with --header-border --- test/test_go.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test') 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 -- cgit v1.2.3