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 d5b9a49 commit 179ec3cCopy full SHA for 179ec3c
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 ResizeAdjustmentDirection(enum.Enum):
7
+ """Used for *adjustment* in ``resize_window``, ``resize_pane``."""
8
9
+ Up = "UP"
10
+ Down = "DOWN"
11
+ Left = "LEFT"
12
+ Right = "RIGHT"
13
14
15
+RESIZE_ADJUSTMENT_DIRECTION_FLAG_MAP: t.Dict[ResizeAdjustmentDirection, str] = {
16
+ ResizeAdjustmentDirection.Up: "-U",
17
+ ResizeAdjustmentDirection.Down: "-D",
18
+ ResizeAdjustmentDirection.Left: "-L",
19
+ ResizeAdjustmentDirection.Right: "-R",
20
+}
0 commit comments