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 eef72da commit 458003fCopy full SHA for 458003f
src/libtmux/pane.py
@@ -11,7 +11,8 @@
11
import warnings
12
from typing import overload
13
14
-from libtmux.common import tmux_cmd
+from libtmux.common import OptionMixin, tmux_cmd
15
+from libtmux.constants import OptionScope
16
from libtmux.neo import Obj, fetch_obj
17
18
from . import exc
@@ -26,7 +27,7 @@
26
27
28
29
@dataclasses.dataclass()
-class Pane(Obj):
30
+class Pane(Obj, OptionMixin):
31
""":term:`tmux(1)` :term:`Pane` [pane_manual]_.
32
33
``Pane`` instances can send commands directly to a pane, or traverse
@@ -66,6 +67,7 @@ class Pane(Obj):
66
67
Accessed April 1st, 2018.
68
"""
69
70
+ default_scope: t.Optional[OptionScope] = OptionScope.Pane
71
server: "Server"
72
73
def refresh(self) -> None:
0 commit comments