m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Add gap line

Close #4182
This commit is contained in:
Junegunn Choi
2025-01-15 22:23:52 +09:00
parent 56fef7c8df
commit 9d6637c1b3
4 changed files with 66 additions and 10 deletions

View File

@@ -3423,28 +3423,28 @@ class TestGoFZF < TestBase
>
100/100
> 1
2
3
4
BLOCK
tmux.until { assert_block(block, _1) }
end
def test_gap_2
tmux.send_keys %(seq 100 | #{FZF} --gap=2 --border --reverse), :Enter
tmux.send_keys %(seq 100 | #{FZF} --gap=2 --gap-line xyz --border --reverse), :Enter
block = <<~BLOCK
>
100/100
> 1
xyzxyzxyzxyzxy
2
xyzxyzxyzxyzxy
3
BLOCK
tmux.until { assert_block(block, _1) }