Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

enum libtmux-swift latest

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
enum HookScope : enum HookScope

Description#

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.

Members2#

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.

Esc

Type to search.

Reference previewOpen reference