HookScope
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Options.swift
-
Which of tmux's hook tables a hook lives in.
tmux keeps two, and only two: one global, and one per session.
set-hooktakes-wand-pand reports success for both, but the hook lands in the session's table either way, andshow-hookshas no server flag at all — so a window or pane scope here would only ever read back empty. This asks for neither, unlikeOptionScope, 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.