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

ControlClientLimits.max_clients

Set how many persistent clients may remain attached.

Source and package
Qualified name
libtmux::limits::ControlClientLimits::max_clients
Module
limits
Declared in
ControlClientLimits
Package
libtmux
Source
crates/libtmux/src/limits.rs
#[cfg(feature = "control-mode")] impl ControlClientLimits #[must_use] pub const fn max_clients(self, clients: usize) -> Self

Description#

Zero is treated as one: a server that admits nothing cannot observe.

Parameters
Esc

Type to search.

Reference previewOpen reference