# window.Window.refreshed

- **Module:** window.Window
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/window.ts#L474
- **Page:** https://libtmux.org/reference/ts/window-window-refreshed/

```
window.Window.refreshed() -> Promise<Window>
```

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.

## Example

```ts
const later = await window.refreshed();
later.panes.count();
```
