Skip to content

Commit d7d34d8

Browse files
committed
constants: Add HOOK_SCOPE_FLAG_MAP
1 parent 39c24a3 commit d7d34d8

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
@@ -74,3 +74,10 @@ class OptionScope(enum.Enum):
7474
OptionScope.Window: "-w",
7575
OptionScope.Pane: "-p",
7676
}
77+
78+
HOOK_SCOPE_FLAG_MAP: t.Dict[OptionScope, str] = {
79+
OptionScope.Server: "",
80+
OptionScope.Session: "",
81+
OptionScope.Window: "-w",
82+
OptionScope.Pane: "-p",
83+
}

0 commit comments

Comments
 (0)