Fix header window not updated on change-header

This commit is contained in:
Junegunn Choi committed 2025-03-28 23:23:43 +09:00
1 parent 376142eb0d
commit 0dce561ec9
2 files changed
+13 -1

No files matched your search

+7
View File
@@ -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