libtmux Reference MCP Search
On this page

Server.option(_:scope:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
option(_:scope:) ( name : String , scope : OptionScope ) String?
methodasync [source]
methodasync [source]
option(_:scope:)

The value of one option, or nil if it is not set in that table.

Presence comes from the table listing and the value from show-options -v, because neither answers both portably: the listing quotes a value containing spaces, while -v reports "not set" as exit 0 with empty output on 3.2a and exit 1 on 3.7 — and reading emptiness as absence would erase the difference between an option nobody set and one deliberately set to "".

Raises

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.