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 afeed63 commit 9d3aa67Copy full SHA for 9d3aa67
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
@@ -47,7 +48,11 @@
47
48
49
50
@dataclasses.dataclass()
-class Window(Obj, OptionsMixin):
51
+class Window(
52
+ Obj,
53
+ OptionsMixin,
54
+ HooksMixin,
55
+):
56
""":term:`tmux(1)` :term:`Window` [window_manual]_.
57
58
Holds :class:`Pane` objects.
@@ -103,6 +108,7 @@ class Window(Obj, OptionsMixin):
103
108
"""
104
109
105
110
default_option_scope: OptionScope | None = OptionScope.Window
111
+ default_hook_scope: OptionScope | None = OptionScope.Window
106
112
server: Server
107
113
114
def __enter__(self) -> Self:
0 commit comments