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 1717
1818from libtmux ._internal .query_list import QueryList
1919from libtmux .common import tmux_cmd
20+ from libtmux .constants import OptionScope
2021from libtmux .neo import fetch_objs
2122from libtmux .pane import Pane
2223from libtmux .session import Session
3132 has_gte_version ,
3233 session_check_name ,
3334)
35+ from .options import OptionsMixin
3436
3537if t .TYPE_CHECKING :
3638 from typing_extensions import TypeAlias
4042logger = logging .getLogger (__name__ )
4143
4244
43- class Server (EnvironmentMixin ):
45+ class Server (EnvironmentMixin , OptionsMixin ):
4446 """:term:`tmux(1)` :term:`Server` [server_manual]_.
4547
4648 - :attr:`Server.sessions` [:class:`Session`, ...]
@@ -104,6 +106,9 @@ class Server(EnvironmentMixin):
104106 formatter_prefix = "server_"
105107 """Namespace used for :class:`~libtmux.common.TmuxMappingObject`"""
106108
109+ default_option_scope : OptionScope | None = OptionScope .Server
110+ """For option management."""
111+
107112 def __init__ (
108113 self ,
109114 socket_name : str | None = None ,
You can’t perform that action at this time.
0 commit comments