Skip to content

Commit 95631b4

Browse files
committed
constants: Add HOOK_SCOPE_FLAG_MAP
1 parent 8c91e91 commit 95631b4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/libtmux/constants.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,10 @@ class OptionScope(enum.Enum):
7575
OptionScope.Window: "-w",
7676
OptionScope.Pane: "-p",
7777
}
78+
79+
HOOK_SCOPE_FLAG_MAP: t.Dict[OptionScope, str] = {
80+
OptionScope.Server: "",
81+
OptionScope.Session: "",
82+
OptionScope.Window: "-w",
83+
OptionScope.Pane: "-p",
84+
}

0 commit comments

Comments
 (0)