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