File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 18
18
from libtmux ._internal .query_list import QueryList
19
19
from libtmux .common import tmux_cmd
20
20
from libtmux .constants import OptionScope
21
+ from libtmux .hooks import HooksMixin
21
22
from libtmux .neo import fetch_objs
22
23
from libtmux .pane import Pane
23
24
from libtmux .session import Session
42
43
logger = logging .getLogger (__name__ )
43
44
44
45
45
- class Server (EnvironmentMixin , OptionsMixin ):
46
+ class Server (
47
+ EnvironmentMixin ,
48
+ OptionsMixin ,
49
+ HooksMixin ,
50
+ ):
46
51
""":term:`tmux(1)` :term:`Server` [server_manual]_.
47
52
48
53
- :attr:`Server.sessions` [:class:`Session`, ...]
@@ -108,6 +113,8 @@ class Server(EnvironmentMixin, OptionsMixin):
108
113
109
114
default_option_scope : OptionScope | None = OptionScope .Server
110
115
"""For option management."""
116
+ default_hook_scope : OptionScope | None = OptionScope .Server
117
+ """For hook management."""
111
118
112
119
def __init__ (
113
120
self ,
You can’t perform that action at this time.
0 commit comments