libtmux Reference MCP Search
On this page

pane.settings.Pane.typed_option

View as Markdown

Module
pane.settings
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane/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.

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.