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 1818from libtmux import exc , formats
1919from libtmux ._internal .query_list import QueryList
2020from libtmux .common import tmux_cmd
21+ from libtmux .constants import OptionScope
2122from libtmux .neo import fetch_objs
2223from libtmux .pane import Pane
2324from libtmux .session import Session
3132 has_gte_version ,
3233 session_check_name ,
3334)
35+ from .options import OptionsMixin
3436
3537if t .TYPE_CHECKING :
3638 import types
4547logger = logging .getLogger (__name__ )
4648
4749
48- class Server (EnvironmentMixin ):
50+ class Server (EnvironmentMixin , OptionsMixin ):
4951 """:term:`tmux(1)` :term:`Server` [server_manual]_.
5052
5153 - :attr:`Server.sessions` [:class:`Session`, ...]
@@ -118,6 +120,9 @@ class Server(EnvironmentMixin):
118120 formatter_prefix = "server_"
119121 """Namespace used for :class:`~libtmux.common.TmuxMappingObject`"""
120122
123+ default_option_scope : OptionScope | None = OptionScope .Server
124+ """For option management."""
125+
121126 def __init__ (
122127 self ,
123128 socket_name : str | None = None ,
You can’t perform that action at this time.
0 commit comments