libtmux Reference MCP Search
On this page

Server.unsetHook(_:in:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
unsetHook(_:in:) ( name : String , in : HookScope ) TmuxReply
methodasync [source]
methodasync [source]
unsetHook(_:in:)

Unbinds every command from a hook.

In the global table tmux empties the array but keeps listing the name, so an unset hook reads as a name with nothing behind it — which is what an unbound name looks like to begin with, and why hooks(_:) reports neither. Unsetting a name nothing was bound to succeeds.

Raises

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.