Skip to content

Commit a2eb007

Browse files
committed
HooksMixin(fix[show_hook]): Forward global_ parameter to _show_hook
why: The global_ parameter was accepted but not forwarded, preventing users from querying server-wide hooks with -g flag what: - Forward global_=global_ when calling _show_hook()
1 parent 19835e2 commit a2eb007

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libtmux/hooks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ def show_hook(
425425
"""
426426
hooks_output = self._show_hook(
427427
hook=hook,
428+
global_=global_,
428429
scope=scope,
429430
ignore_errors=ignore_errors,
430431
)

0 commit comments

Comments
 (0)