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

Python API

Python documentation

libtmux.Pane.refresh

Python

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
Ruby Lua TypeScriptRustGoJava.NETC++ Swift
refresh ( self ) → None
method [source]
method [source]
refresh

Refresh pane attributes from tmux.

Scoped to this pane's own window (list-panes -t %ID), so tmux -- not libtmux -- decides which session the pane belongs to. See Pane.from_pane_id .

Raises
In other ports Read a pane again

Examples

>>> pane.refresh()
>>> pane.pane_id
'%1'
const later = await pane.refreshed();
later.currentCommand;

0 declared, 0 inherited

Esc

Type to search.