File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -445,6 +445,15 @@ def explode_complex(
445
445
... "server-info": "show-messages -JT"}}
446
446
True
447
447
448
+ >>> explode_complex(explode_arrays({"terminal-features": {0: "xterm*:clipboard:ccolour:cstyle:focus",
449
+ ... 1: "screen*:title"}}))
450
+ {'terminal-features': {0: 'xterm*:clipboard:ccolour:cstyle:focus', 1: 'screen*:title'}}
451
+
452
+ >>> explode_complex(explode_arrays({"terminal-features": {0: "xterm*:clipboard:ccolour:cstyle:focus",
453
+ ... 8: "screen*:title"}})) == TmuxArray({'terminal-features': {0:
454
+ ... 'xterm*:clipboard:ccolour:cstyle:focus', 8: 'screen*:title'}})
455
+ True
456
+
448
457
>>> explode_complex(explode_arrays(parse_options_to_dict(io.StringIO(r'''
449
458
... terminal-overrides[0] xterm-256color:Tc
450
459
... terminal-overrides[1] *:U8=0
@@ -582,6 +591,7 @@ def set_option(
582
591
>>> import typing as t
583
592
>>> from libtmux.common import tmux_cmd
584
593
>>> from libtmux.constants import OptionScope
594
+ >>> from libtmux._internal.constants import TmuxArray
585
595
586
596
>>> class MyServer(OptionsMixin):
587
597
... socket_name = server.socket_name
You can’t perform that action at this time.
0 commit comments