m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 07:13:48 -05:00

Allow empty pointer and marker

Close #3879
This commit is contained in:
Junegunn Choi
2024-06-20 01:45:06 +09:00
parent 27d1f5e0a8
commit c3cc378d89
4 changed files with 58 additions and 21 deletions

View File

@@ -3340,6 +3340,22 @@ class TestGoFZF < TestBase
BLOCK
tmux.until { assert_block(block, _1) }
end
def test_fzf_multi_line_no_pointer_and_marker
tmux.send_keys %[(echo -en '0\\0'; echo -en '1\\n2\\0'; seq 1000) | fzf --read0 --multi --bind load:select-all --border rounded --reverse --pointer '' --marker '' --marker-multi-line ''], :Enter
block = <<~BLOCK
>
3/3 (3)
0
1
2
1
2
3
BLOCK
tmux.until { assert_block(block, _1) }
end
end
module TestShell