Fix --layout reverse-list --no-input
Some checks are pending
CodeQL / Analyze (go) (push) Waiting to run
Test fzf on Linux / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run

This commit is contained in:
Junegunn Choi
2025-02-01 09:28:02 +09:00
parent 6c0ca4a64a
commit d075c00015
2 changed files with 21 additions and 3 deletions

View File

@@ -891,4 +891,19 @@ class TestLayout < TestInteractive
BLOCK
tmux.until { assert_block(block, _1) }
end
def test_min_height_auto_no_input_reverse_list
tmux.send_keys %(seq 100 | #{FZF} --style full:sharp --layout reverse-list --no-input --height 1% --min-height 5+), :Enter
block = <<~BLOCK
> 1
2
3
4
5
BLOCK
tmux.until { assert_block(block, _1) }
end
end