libtmux Reference MCP Search
On this page

session.Session.refresh

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
refresh ( mut ) Result<&mut Self, Error>
method [source]
method [source]
refresh

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

Only the receiver changes. Clones keep the snapshot they were taken with, because each handle owns its own.

Errors

Returns Error::ObjectGone when the session no longer exists, or a listing error when tmux could not be read.

0 declared, 0 inherited

Esc

Type to search.