HookScope
Which of tmux's hook tables a hook lives in.
Source and package
- Qualified name
-
HookScope - Package
- libtmux-swift
- Source
- Sources/LibTmux/Options.swift
-
Description#
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.
Members2#
- global: case global constant
- session(_:): case session(String) constant One session's own hooks, addressed by name or id.
Inherited members2 members#
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
- init(from:) method inherited Creates a new instance by decoding from the given decoder.
Guides#
Pages that discuss HookScope.