Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Swift API

Swift documentation

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
Other languages
Python Ruby LuaTypeScriptRustGo Java .NET C++
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

In other ports Unbind a global hook
In other ports Unbind a session hook
In other ports Unbind a window hook
In other ports Unbind a pane hook

0 declared, 0 inherited

Esc

Type to search.