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

window.Window.refreshed

TypeScript

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.ts
Other languages
Python Ruby Lua RustGoJava.NETC++ Swift
refreshed ( ) → Promise<Window>
method [source]
method [source]
refreshed

This window placement, read again at a new instant.

The placement is kept, not just the window: a window linked into a session at two indexes has two placements, and this one stays the one it was. Refusing rather than silently retargeting is why the index is part of what is matched.

In other ports Read a window again

Examples

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

0 declared, 0 inherited

Esc

Type to search.