On this page
TmuxOption
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Options.swift
- struct TmuxOption : struct TmuxOption
-
One tmux option.
7 declared, 0 inherited
Members
- !=(_:_:) 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.
- init(name:value:scope:) method
- isUserOption property A user option — one whose name begins with
@. tmux never interprets these, so they are the safe place to keep your own state on a server. - name property The option's name as tmux spells it,
@-prefixed for a user option. - scope property The exact table this was read from.
- value property The value exactly as tmux printed it. tmux quotes values that need it, and unquoting is lossy without knowing the option's type, so the raw text is what the library keeps.