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 15
15
16
16
from libtmux ._internal .query_list import QueryList
17
17
from libtmux .common import tmux_cmd
18
+ from libtmux .constants import OptionScope
18
19
from libtmux .neo import fetch_objs
19
20
from libtmux .pane import Pane
20
21
from libtmux .session import Session
29
30
has_gte_version ,
30
31
session_check_name ,
31
32
)
33
+ from .options import OptionMixin
32
34
33
35
if t .TYPE_CHECKING :
34
36
from typing_extensions import TypeAlias
38
40
logger = logging .getLogger (__name__ )
39
41
40
42
41
- class Server (EnvironmentMixin ):
43
+ class Server (EnvironmentMixin , OptionMixin ):
42
44
""":term:`tmux(1)` :term:`Server` [server_manual]_.
43
45
44
46
- :attr:`Server.sessions` [:class:`Session`, ...]
@@ -102,6 +104,9 @@ class Server(EnvironmentMixin):
102
104
formatter_prefix = "server_"
103
105
"""Namespace used for :class:`~libtmux.common.TmuxMappingObject`"""
104
106
107
+ default_option_scope : t .Optional [OptionScope ] = OptionScope .Server
108
+ """For option management."""
109
+
105
110
def __init__ (
106
111
self ,
107
112
socket_name : t .Optional [str ] = None ,
You can’t perform that action at this time.
0 commit comments