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-go latest

GlobalSessionScope.SetHooks

SetHooks applies indexed global session-scope hook commands in ascending order. With ClearExisting it confirms clearing before applying sparse Values. It stops at the first failure without rollback; the returned result reports only confirmed partial progress and owns AppliedIndices. Cancellation may follow accepted commands and cannot disprove their delivery.

Source and package
Qualified name
tmux.GlobalSessionScope.SetHooks
Package
tmux
Declared in
GlobalSessionScope
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/hook_runtime.go

tmux command#

The tmux commands behind SetHooks.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference