Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Operations.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.Operations.run_hook
Module
Libtmux
Declared in
Operations
Package
libtmux
Source
lib/libtmux.mli
val run_hook : Options.scope -> string -> unit Command.t

Public owner: Libtmux

Parameters
Esc

Type to search.

Reference previewOpen reference