libtmux Reference MCP Search
On this page

window.settings.Window.typed_option

View as Markdown

Module
window.settings
Declared in
Window
Package
libtmux
Source
crates/libtmux/src/window/settings.rs
typed_option ( self , name : &str ) Result<Option<OptionValue>, Error>
method [source]
method [source]
typed_option

Read one option, decoded according to what tmux declares about it.

A flag comes back as OptionValue::Flag and a number as OptionValue::Number , so a caller does not decide for itself that on means one. Everything else, including user options, stays text.

Errors

Returns an error when tmux does not recognize the option name.

0 declared, 0 inherited

Esc

Type to search.