On this page
HookScope
- 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.
4 declared, 0 inherited
Members
- global constant
- session(_:) constant One session's own hooks, addressed by name or id.
- !=(_:_:) 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.