libtmux Reference MCP Search
On this page

window.settings.Window.set_option

View as Markdown

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

0 declared, 0 inherited

Esc

Type to search.