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 c9aa46e commit 3f2fbdcCopy full SHA for 3f2fbdc
src/libtmux/constants.py
@@ -50,3 +50,28 @@ class PaneDirection(enum.Enum):
50
PaneDirection.Right: ["-h"],
51
PaneDirection.Left: ["-h", "-b"],
52
}
53
+
54
55
+class _DefaultOptionScope:
56
+ # Sentinel value for default scope
57
+ ...
58
59
60
+DEFAULT_OPTION_SCOPE: _DefaultOptionScope = _DefaultOptionScope()
61
62
63
+class OptionScope(enum.Enum):
64
+ """Scope used with ``set-option`` and ``show-option(s)`` commands."""
65
66
+ Server = "SERVER"
67
+ Session = "SESSION"
68
+ Window = "WINDOW"
69
+ Pane = "PANE"
70
71
72
+OPTION_SCOPE_FLAG_MAP: t.Dict[OptionScope, str] = {
73
+ OptionScope.Server: "-s",
74
+ OptionScope.Session: "",
75
+ OptionScope.Window: "-w",
76
+ OptionScope.Pane: "-p",
77
+}
0 commit comments