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 1515
1616from libtmux ._internal .query_list import QueryList
1717from libtmux .common import tmux_cmd
18+ from libtmux .constants import OptionScope
1819from libtmux .neo import fetch_objs
1920from libtmux .pane import Pane
2021from libtmux .session import Session
2930 has_gte_version ,
3031 session_check_name ,
3132)
33+ from .options import OptionsMixin
3234
3335if t .TYPE_CHECKING :
3436 from typing_extensions import TypeAlias
3840logger = logging .getLogger (__name__ )
3941
4042
41- class Server (EnvironmentMixin ):
43+ class Server (EnvironmentMixin , OptionsMixin ):
4244 """:term:`tmux(1)` :term:`Server` [server_manual]_.
4345
4446 - :attr:`Server.sessions` [:class:`Session`, ...]
@@ -102,6 +104,9 @@ class Server(EnvironmentMixin):
102104 formatter_prefix = "server_"
103105 """Namespace used for :class:`~libtmux.common.TmuxMappingObject`"""
104106
107+ default_option_scope : t .Optional [OptionScope ] = OptionScope .Server
108+ """For option management."""
109+
105110 def __init__ (
106111 self ,
107112 socket_name : t .Optional [str ] = None ,
You can’t perform that action at this time.
0 commit comments