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 17
17
18
18
from libtmux ._internal .query_list import QueryList
19
19
from libtmux .common import tmux_cmd
20
+ from libtmux .constants import OptionScope
20
21
from libtmux .neo import fetch_objs
21
22
from libtmux .pane import Pane
22
23
from libtmux .session import Session
31
32
has_gte_version ,
32
33
session_check_name ,
33
34
)
35
+ from .options import OptionsMixin
34
36
35
37
if t .TYPE_CHECKING :
36
38
import sys
46
48
logger = logging .getLogger (__name__ )
47
49
48
50
49
- class Server (EnvironmentMixin ):
51
+ class Server (EnvironmentMixin , OptionsMixin ):
50
52
""":term:`tmux(1)` :term:`Server` [server_manual]_.
51
53
52
54
- :attr:`Server.sessions` [:class:`Session`, ...]
@@ -119,6 +121,9 @@ class Server(EnvironmentMixin):
119
121
formatter_prefix = "server_"
120
122
"""Namespace used for :class:`~libtmux.common.TmuxMappingObject`"""
121
123
124
+ default_option_scope : OptionScope | None = OptionScope .Server
125
+ """For option management."""
126
+
122
127
def __init__ (
123
128
self ,
124
129
socket_name : str | None = None ,
You can’t perform that action at this time.
0 commit comments