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
48
49
logger = logging .getLogger (__name__ )
49
50
50
51
51
- class Server (EnvironmentMixin , OptionsMixin ):
52
+ class Server (
53
+ EnvironmentMixin ,
54
+ OptionsMixin ,
55
+ HooksMixin ,
56
+ ):
52
57
""":term:`tmux(1)` :term:`Server` [server_manual]_.
53
58
54
59
- :attr:`Server.sessions` [:class:`Session`, ...]
@@ -123,6 +128,8 @@ class Server(EnvironmentMixin, OptionsMixin):
123
128
124
129
default_option_scope : OptionScope | None = OptionScope .Server
125
130
"""For option management."""
131
+ default_hook_scope : OptionScope | None = OptionScope .Server
132
+ """For hook management."""
126
133
127
134
def __init__ (
128
135
self ,
You can’t perform that action at this time.
0 commit comments