libtmux Reference MCP Search
On this page

LibTmux.SetHookRequest.SetHookRequest

View as Markdown

Module
LibTmux
Declared in
SetHookRequest
Package
LibTmux
Source
src/LibTmux/Requests/SetHookRequest.cs
SetHookRequest ( name : string , value : string , scope : OptionScope? , global : bool , unset : bool , runImmediately : bool , append : bool )
method [source]
method [source]
SetHookRequest

Initializes a request to set one hook.

Parameters
  • name ( string ) – The hook name, optionally with an array index.

  • value ( string ) – The tmux command to run when the hook fires.

  • scope ( OptionScope? ) – The scope to set in, or null for the owner's own.

  • global ( bool ) – Whether the global table is set instead of the local one.

  • unset ( bool ) – Whether the hook is removed rather than set.

  • runImmediately ( bool ) – Whether tmux also runs the command now.

  • append ( bool ) – Whether the command joins the hook's existing entries.

0 declared, 0 inherited

Esc

Type to search.