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

Client.refresh

Replace this handle's snapshot with the client's current state.

Source and package
Qualified name
libtmux::client::Client::refresh
Module
client
Declared in
Client
Package
libtmux
Source
crates/libtmux/src/client.rs
pub async fn refresh(&mut self) -> Result<&mut Self, Error>

Description#

Errors

Returns Error::ObjectGone when the client has detached. If tmux omits a stopped client from the listing, a probe can distinguish it as Error::ClientSuspended. Releases that keep it listed can refresh successfully instead. Keep the handle when the client is suspended. Returns a listing error when tmux could not be read.

tmux command#

The tmux commands behind refresh.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference