libtmux Reference MCP Search
On this page

pane.settings.Pane.set_option

View as Markdown

Module
pane.settings
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane/settings.rs
set_option ( self , name : &str , value : impl Into<OsString> ) Result<(), Error>
method [source]
method [source]
set_option

Set one option.

The value is marked sensitive, so it never reaches Debug, an error, or a tracing span.

Errors

Returns an error when tmux rejects the name or value.

Returns crate::Error::OptionScopeMismatch when tmux keeps the option in another of its tables.

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.