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

Python API

Python documentation

libtmux.Window.refresh

Python

View as Markdown

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

Refresh window attributes from tmux.

Scoped to this window's own session (list-windows -t @ID), so tmux -- not libtmux -- decides which session the window belongs to. See Window.from_window_id .

Raises
In other ports Read a window again

Examples

>>> window.refresh()
>>> window.window_id
'@1'
const later = await window.refreshed();
later.panes.count();

0 declared, 0 inherited

Esc

Type to search.