libtmux Reference MCP Search
On this page

HookScope

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
enum HookScope : enum HookScope
enum [source]
enum [source]
enum HookScope

Which of tmux's hook tables a hook lives in.

tmux keeps two, and only two: one global, and one per session. set-hook takes -w and -p and reports success for both, but the hook lands in the session's table either way, and show-hooks has no server flag at all — so a window or pane scope here would only ever read back empty. This asks for neither, unlike OptionScope , whose table addresses are all real.

4 declared, 0 inherited

Members

  • global constant
  • session(_:) constant One session's own hooks, addressed by name or id.
  • !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
  • init(from:) method Creates a new instance by decoding from the given decoder.
Esc

Type to search.