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_array_option

Write one index of an array option, leaving the others alone.

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

Description#

Errors

Returns an error when tmux refuses the option name or the value.

Parameters

tmux command#

The tmux commands behind set_array_option.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference