File tree 1 file changed +16
-12
lines changed
1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -470,18 +470,22 @@ def test_stable_baseline_options_and_hooks(server: Server) -> None:
470
470
"splitp" : "split-window" ,
471
471
}
472
472
if has_gte_version ("3.2" ):
473
- assert server .show_option ("terminal-features" ) == {
474
- "screen*" : [
475
- "title" ,
476
- ],
477
- "xterm*" : [
478
- "clipboard" ,
479
- "ccolour" ,
480
- "cstyle" ,
481
- "focus" ,
482
- "title" ,
483
- ],
484
- }
473
+ terminal_features = server .show_option ("terminal-features" )
474
+ assert isinstance (terminal_features , dict )
475
+ assert "screen*" in terminal_features
476
+ assert terminal_features ["screen*" ] == ["title" ]
477
+ assert "xterm*" in terminal_features
478
+ assert terminal_features ["xterm*" ] == [
479
+ "clipboard" ,
480
+ "ccolour" ,
481
+ "cstyle" ,
482
+ "focus" ,
483
+ "title" ,
484
+ ]
485
+ # Additional features in tmux 3.4+
486
+ if has_gte_version ("3.4" ):
487
+ assert "rxvt*" in terminal_features
488
+ assert terminal_features ["rxvt*" ] == ["ignorefkeys" ]
485
489
assert server .show_option ("terminal-overrides" ) is None
486
490
assert server .show_option ("user-keys" ) is None
487
491
assert server .show_option ("status-format" ) is None
You can’t perform that action at this time.
0 commit comments