From 0dce561ec9894781bb356e12f4adef0686421bb7 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 28 Mar 2025 23:22:09 +0900 Subject: Fix header window not updated on change-header --- test/test_core.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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 -- cgit v1.2.3