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 3074add commit 7ad6f0dCopy full SHA for 7ad6f0d
src/libtmux/constants.py
@@ -0,0 +1,20 @@
1
+"""Constant variables for libtmux."""
2
+import enum
3
+import typing as t
4
+
5
6
+class OptionScope(enum.Enum):
7
+ """Scope used with ``set-option`` and ``show-option(s)`` commands."""
8
9
+ Server = "SERVER"
10
+ Session = "SESSION"
11
+ Window = "WINDOW"
12
+ Pane = "PANE"
13
14
15
+OPTION_SCOPE_FLAG_MAP: t.Dict[OptionScope, str] = {
16
+ OptionScope.Server: "-s",
17
+ OptionScope.Session: "",
18
+ OptionScope.Window: "-w",
19
+ OptionScope.Pane: "-p",
20
+}
0 commit comments