summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-03-28 23:22:09 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-03-28 23:23:43 +0900
commit0dce561ec9894781bb356e12f4adef0686421bb7 (patch)
tree8e9c78d02ce18f095dea61f4b457c822851fa097 /test
parent376142eb0d5a0572221c6cada2a6e361c13ac2b4 (diff)
downloadfzf-0dce561ec9894781bb356e12f4adef0686421bb7.tar.gz
Fix header window not updated on change-header
Diffstat (limited to 'test')
-rw-r--r--test/test_core.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_core.rb b/test/test_core.rb
index ec0a1da8..c8b73f23 100644
--- a/test/test_core.rb
+++ b/test/test_core.rb
@@ -1920,4 +1920,11 @@ class TestCore < TestInteractive
tmux.send_keys :Up
tmux.until { |lines| assert_includes lines, ' 2' }
end
+
+ def test_change_header_on_header_window
+ tmux.send_keys %(seq 100 | #{FZF} --list-border --input-border --bind 'start:change-header(foo),space:change-header(bar)'), :Enter
+ tmux.until { |lines| assert lines.any_include?('foo') }
+ tmux.send_keys :Space
+ tmux.until { |lines| assert lines.any_include?('bar') }
+ end
end