From 66df24040fed3c76df545fc34b47387c86922786 Mon Sep 17 00:00:00 2001 From: phanium <91544758+phanen@users.noreply.github.com> Date: Sun, 13 Apr 2025 19:24:29 +0800 Subject: Fix panic when use header border without pointer/marker (#4345) --- test/test_layout.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/test_layout.rb') diff --git a/test/test_layout.rb b/test/test_layout.rb index 401f0f35..ed384712 100644 --- a/test/test_layout.rb +++ b/test/test_layout.rb @@ -991,4 +991,16 @@ class TestLayout < TestInteractive BLOCK tmux.until { assert_block(block, it) } end + + def test_header_border_no_pointer_and_marker + tmux.send_keys %(seq 10 | #{FZF} --header-lines 1 --header-border sharp --no-list-border --pointer '' --marker ''), :Enter + block = <<~BLOCK + ┌────── + │ 1 + └────── + 9/9 ─ + > + BLOCK + tmux.until { assert_block(block, it) } + end end -- cgit v1.2.3