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

Add --keep-right option to keep the right end of the line visible

Close #1652
This commit is contained in:
Junegunn Choi
2020-03-11 22:35:24 +09:00
parent b8fc828955
commit 373c6d8d55
5 changed files with 31 additions and 6 deletions

View File

@@ -1728,6 +1728,11 @@ class TestGoFZF < TestBase
tmux.send_keys :Enter
end
end
def test_keep_right
tmux.send_keys("seq 10000 | #{FZF} --read0 --keep-right", :Enter)
tmux.until { |lines| lines.any_include?('9999 10000') }
end
end
module TestShell