libtmux Reference MCP Search
On this page

TmuxHook

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
struct TmuxHook : struct TmuxHook
struct [source]
struct [source]
struct TmuxHook

One tmux hook: a command tmux runs when something happens.

7 declared, 0 inherited

Members

  • !=(_:_:) 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.
  • init(name:index:command:scope:) method
  • command property The tmux command line to run, kept unparsed because tmux parses it itself at the moment the hook fires.
  • index property Which slot of the name's array holds this command.
  • name property The event this runs on, as tmux names it — after-new-window.
  • scope property Which of the two hook tables this was read from.
Esc

Type to search.