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 16
16
from libtmux ._internal .query_list import QueryList
17
17
from libtmux .common import tmux_cmd
18
18
from libtmux .constants import OptionScope
19
+ from libtmux .hooks import HooksMixin
19
20
from libtmux .neo import fetch_objs
20
21
from libtmux .pane import Pane
21
22
from libtmux .session import Session
40
41
logger = logging .getLogger (__name__ )
41
42
42
43
43
- class Server (EnvironmentMixin , OptionsMixin ):
44
+ class Server (
45
+ EnvironmentMixin ,
46
+ OptionsMixin ,
47
+ HooksMixin ,
48
+ ):
44
49
""":term:`tmux(1)` :term:`Server` [server_manual]_.
45
50
46
51
- :attr:`Server.sessions` [:class:`Session`, ...]
@@ -106,6 +111,8 @@ class Server(EnvironmentMixin, OptionsMixin):
106
111
107
112
default_option_scope : t .Optional [OptionScope ] = OptionScope .Server
108
113
"""For option management."""
114
+ default_hook_scope : t .Optional [OptionScope ] = OptionScope .Server
115
+ """For hook management."""
109
116
110
117
def __init__ (
111
118
self ,
You can’t perform that action at this time.
0 commit comments