Skip to content

Commit 70e2bb5

Browse files
committed
constants: Add HOOK_SCOPE_FLAG_MAP
1 parent d6bba4e commit 70e2bb5

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
@@ -76,3 +76,10 @@ class OptionScope(enum.Enum):
7676
OptionScope.Window: "-w",
7777
OptionScope.Pane: "-p",
7878
}
79+
80+
HOOK_SCOPE_FLAG_MAP: dict[OptionScope, str] = {
81+
OptionScope.Server: "",
82+
OptionScope.Session: "",
83+
OptionScope.Window: "-w",
84+
OptionScope.Pane: "-p",
85+
}

0 commit comments

Comments
 (0)