mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Add --keep-right option to keep the right end of the line visible
Close #1652
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user