Client.run_hook
Run the effective hook in an explicit session, window or pane context. A successful result follows completion of its synchronous command queue. Background work started by a hook has its own lifetime. A later hook failure returns an uncertain outcome; preceding effects remain. Named @ hooks return Unsupported because tmux can hide their parse failures in the server log. Configuration and inspection remain available.
Source and package
- Qualified name
-
Libtmux_eio .Client. run _hook - Module
- Libtmux_eio
- Declared in
Client- Package
- libtmux-eio
- Source
- eio/libtmux_eio.mli
- val run_hook : t -> Libtmux
.Options -> string -> (unit, Libtmux.scope .Error ) result.t -
Public owner:
Libtmux_eio
tmux command#
The tmux commands behind run_hook.
tmux C API#
The C declarations in tmux that implement these commands.