Server.option(_:scope:)
Swift
- Python Read one server option Python Read one session option Python Read one window option Python Read one pane option
- Ruby Unavailable
- Lua Read one server option Lua Read one session option Lua Read one window option Lua Read one pane option
- TypeScript Unavailable
- Rust Read one server option Rust Read one session option Rust Read one window option Rust Read one pane option
- Go Read one server option Go Read one session option Go Read one window option Go Read one pane option
- Java Unavailable
- .NET Unavailable
- C++ Read one session option C++ Read one window option C++ Read one pane option
- Swift
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Options.swift
- Other languages
- Python Ruby Lua TypeScript RustGo Java .NET C++
- option(_:scope:) ( name : String , scope : OptionScope ) String?
-
The value of one option, or
nilif 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-vreports "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
In other ports Read one server option
- Python
libtmux.Server.show_option - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Server:get_option - TypeScript no single-option read;
Server.showOptionsreturns them all - Rust
server.Server.typed_option - Go
tmux.Server.RawOption - Java reached through
Server.options, whoseOptions.getreads one - .NET reached through
Server.Options, whoseTmuxOptions.GetAsyncreads one - C++ no single-option read;
Server::optionsreturns them all
In other ports Read one session option
- Python
libtmux.Session.show_option - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Session:get_option - TypeScript no single-option read;
Session.showOptionsreturns them all - Rust
session.Session.typed_option - Go
tmux.Session.RawOption - Java reached through
Session.options, whoseOptions.getreads one - .NET reached through
Session.Options, whoseTmuxOptions.GetAsyncreads one - C++
libtmux::Session::option
In other ports Read one window option
- Python
libtmux.Window.show_option - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Window:get_option - TypeScript no single-option read;
Window.showOptionsreturns them all - Rust
window.Window.typed_option - Go
tmux.Window.RawOption - Java reached through
Window.options, whoseOptions.getreads one - .NET reached through
Window.Options, whoseTmuxOptions.GetAsyncreads one - C++
libtmux::Window::option
In other ports Read one pane option
- Python
libtmux.Pane.show_option - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Pane:get_option - TypeScript no single-option read;
Pane.showOptionsreturns them all - Rust
pane.Pane.typed_option - Go
tmux.Pane.RawOption - Java reached through
Pane.options, whoseOptions.getreads one - .NET reached through
Pane.Options, whoseTmuxOptions.GetAsyncreads one - C++
libtmux::Pane::option
0 declared, 0 inherited