File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1414
1515from libtmux ._internal .query_list import QueryList
1616from libtmux .common import tmux_cmd
17+ from libtmux .constants import OptionScope
1718from libtmux .neo import fetch_objs
1819from libtmux .pane import Pane
1920from libtmux .session import Session
2223from . import exc , formats
2324from .common import (
2425 EnvironmentMixin ,
26+ OptionMixin ,
2527 PaneDict ,
2628 SessionDict ,
2729 WindowDict ,
3739logger = logging .getLogger (__name__ )
3840
3941
40- class Server (EnvironmentMixin ):
42+ class Server (EnvironmentMixin , OptionMixin ):
4143 """:term:`tmux(1)` :term:`Server` [server_manual]_.
4244
4345 - :attr:`Server.sessions` [:class:`Session`, ...]
@@ -101,6 +103,9 @@ class Server(EnvironmentMixin):
101103 formatter_prefix = "server_"
102104 """Namespace used for :class:`~libtmux.common.TmuxMappingObject`"""
103105
106+ default_scope : t .Optional [OptionScope ] = OptionScope .Server
107+ """For option setting."""
108+
104109 def __init__ (
105110 self ,
106111 socket_name : t .Optional [str ] = None ,
You can’t perform that action at this time.
0 commit comments