Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux stable

HooksMixin.run_hook

Run a hook immediately. Useful for testing.

Source and package
Qualified name
libtmux.hooks.HooksMixin.run_hook
Module
libtmux.hooks
Declared in
HooksMixin
Package
libtmux
Source
src/libtmux/hooks.py
run_hook ( self, hook: str, global_: bool | None = None, scope: OptionScope | _DefaultOptionScope | None = DEFAULT_OPTION_SCOPE, ) → Self

tmux catalog Hooks

Esc

Type to search.

Reference preview Open reference