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

Rust API

Rust documentation

server.Server.set_global_option

Rust

View as Markdown

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

Set one global session option to text, unchecked.

Sessions inherit from this table, so it is where a default belongs. Self::set_typed_global_option checks the value first.

Errors

Returns an error when tmux rejects the name or value.

In other ports Set a default every session inherits

0 declared, 0 inherited

Esc

Type to search.