# window.Window.unzoom

- **Module:** window.Window
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/window.ts#L374
- **Page:** https://libtmux.org/en/ts/latest/reference/window-window-unzoom/

```
window.Window.unzoom(options: : CommandOptions) -> Promise<void>
```

Restore this window's layout, whichever of its panes was zoomed.

Idempotent and one tmux command, for the reason {@link Pane.zoom} gives.
Zooming is reached from the pane that should fill the window; unzooming
has no such choice to make, so it is here as well.

## Example

```ts
await window.unzoom();
```
