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_unix .Client. run _hook - Module
- Libtmux_unix
- Declared in
Client- Package
- libtmux-unix
- Source
- unix/libtmux_unix.mli
- val run_hook : ?cancel:Cancellation
.t -> t -> Libtmux.Options -> string -> (unit, Libtmux.scope .Error ) result.t -
Public owner:
Libtmux_unix
tmux command#
The tmux commands behind run_hook.
tmux C API#
The C declarations in tmux that implement these commands.