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.display_panes

Briefly show each pane's number on a client.

Source and package
Qualified name
libtmux::server::Server::display_panes
Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server/interactive.rs
pub async fn display_panes( &self, client: Option<&Client> ) -> Result<(), Error>

Description#

From tmux 3.8, display-panes is a pane mode rather than an overlay on the client: tmux accepts it with no client attached and shows the numbers in the target pane until display-panes-time passes or a key is pressed.

Errors

Returns Error::ServerMismatch when the client belongs to another server, or an error when tmux refuses, including below 3.8 when no suitable client exists.

Parameters

tmux command#

The tmux commands behind display_panes.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference