We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744e622 commit 9fbd11dCopy full SHA for 9fbd11d
src/libtmux/window.py
@@ -22,6 +22,7 @@
22
ResizeAdjustmentDirection,
23
WindowDirection,
24
)
25
+from libtmux.hooks import HooksMixin
26
from libtmux.neo import Obj, fetch_obj, fetch_objs
27
from libtmux.pane import Pane
28
@@ -38,7 +39,11 @@
38
39
40
41
@dataclasses.dataclass()
-class Window(Obj, OptionsMixin):
42
+class Window(
43
+ Obj,
44
+ OptionsMixin,
45
+ HooksMixin,
46
+):
47
""":term:`tmux(1)` :term:`Window` [window_manual]_.
48
49
Holds :class:`Pane` objects.
@@ -87,6 +92,7 @@ class Window(Obj, OptionsMixin):
87
92
"""
88
93
89
94
default_option_scope: OptionScope | None = OptionScope.Window
95
+ default_hook_scope: OptionScope | None = OptionScope.Window
90
96
server: Server
91
97
98
def refresh(self) -> None:
0 commit comments