We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0cd20b commit f6946cdCopy full SHA for f6946cd
1 file changed
src/libtmux/pane.py
@@ -23,6 +23,7 @@
23
ResizeAdjustmentDirection,
24
)
25
from libtmux.formats import FORMAT_SEPARATOR
26
+from libtmux.hooks import HooksMixin
27
from libtmux.neo import Obj, fetch_obj
28
from libtmux.options import OptionsMixin
29
@@ -45,7 +46,11 @@
45
46
47
48
@dataclasses.dataclass()
-class Pane(Obj, OptionsMixin):
49
+class Pane(
50
+ Obj,
51
+ OptionsMixin,
52
+ HooksMixin,
53
+):
54
""":term:`tmux(1)` :term:`Pane` [pane_manual]_.
55
56
``Pane`` instances can send commands directly to a pane, or traverse
@@ -93,6 +98,7 @@ class Pane(Obj, OptionsMixin):
93
98
"""
94
99
95
100
default_option_scope: OptionScope | None = OptionScope.Pane
101
+ default_hook_scope: OptionScope | None = OptionScope.Pane
96
102
server: Server
97
103
104
def __enter__(self) -> Self:
0 commit comments