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

HookScope

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
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.

Discussed in Options and hooks

2 declared, 2 inherited

Members

  • global constant
  • session(_:) constant One session's own hooks, addressed by name or id.

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.