mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Fix header not shown when the lines go beyond the screen limit
This commit is contained in:
@@ -680,7 +680,10 @@ class TestGoFZF < TestBase
|
||||
|
||||
def test_header_lines_overflow
|
||||
tmux.send_keys "seq 100 | #{fzf '--header-lines=200'}", :Enter
|
||||
tmux.until { |lines| lines[-2].include?('0/0') }
|
||||
tmux.until do |lines|
|
||||
lines[-2].include?('0/0') &&
|
||||
lines[-3].include?(' 1')
|
||||
end
|
||||
tmux.send_keys :Enter
|
||||
assert_equal '', readonce.chomp
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user