# window.Window.refreshed

- **Module:** window.Window
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/window.ts#L533
- **Page:** https://libtmux.org/en/ts/latest/reference/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();
```
