Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

session.Session.refresh

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
crates/libtmux/src/session.rs
Other languages
PythonTypeScriptGoJava.NETC++ Swift
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.

In other ports Read a session again

0 declared, 0 inherited

Esc

Type to search.