Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Server.set_global_window_option

Set one global window option to text, unchecked.

Source and package
Qualified name
libtmux::server::Server::set_global_window_option
Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server/settings.rs
pub async fn set_global_window_option( &self, name: &str, value: impl Into<OsString>, ) -> Result<(), Error>

Description#

Self::set_typed_global_window_option() checks the value first.

Errors

Returns an error when tmux rejects the name or value.

Parameters

tmux command#

The tmux commands behind set_global_window_option.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference