Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux latest

Server.run_hook

Run a hook immediately. Useful for testing.

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

Inherited from libtmux.hooks.HooksMixin

tmux command#

The tmux commands behind run_hook.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference