Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Rust API

Rust documentation

server.Server.set_option

Rust

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server/settings.rs
Other languages
PythonTypeScriptGo Java .NET C++Swift
set_option ( self , name : &str , value : impl Into<OsString> ) → Result<(), Error>
method [source]
method [source]
set_option

Set one server option to text, unchecked.

tmux validates the value itself. Self::set_typed_option checks it against tmux's option table first; OptionValue compares the two.

Errors

Returns an error when tmux rejects the name or value.

In other ports Set a server option

0 declared, 0 inherited

Esc

Type to search.