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.

Python API

method libtmux stable

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

Esc

Type to search.

Reference preview Open reference