libtmux Reference MCP Search
On this page

options.OptionValue.decode

View as Markdown

Module
options
Declared in
OptionValue
Package
libtmux
Source
crates/libtmux/src/options.rs
decode ( name : &str , value : TmuxText ) Self
method [source]
method [source]
decode

Decode a stored value according to an option's declared kind.

A value that does not match its declared kind stays OptionValue::Text rather than being discarded, because tmux stored it and the caller may still want it.

0 declared, 0 inherited

Esc

Type to search.