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

TmuxHook

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

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.

5 declared, 2 inherited

Members

  • 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.
  • init(name:index:command:scope:) method
  • 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.

Inherited members

Reached through Equatable.!=(_:_:), Decodable.init(from:).

  • !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
  • init(from:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.
Esc

Type to search.