On this page
libtmux.Window.refresh
- Module
- libtmux
- Declared in
- Window
- Package
- libtmux
- Source
- src/libtmux/window.py
-
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. SeeWindow.from_window_id.Examples
>>> window.refresh() >>> window.window_id '@1'- Raises
-
-
ValueError – When
window_idis unset. Surfaces a clear error underpython -O, where anassertwould be stripped. -
TmuxObjectDoesNotExist – When the window no longer exists.
-
LibTmuxException – When tmux itself is unreachable.
-
0 declared, 0 inherited