# window.Window.resize

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

```
window.Window.resize(options: : ResizeWindowOptions) -> Promise<void>
```

Resize this window, by a direction, to a size, or to what its clients allow.

Under tmux's default `window-size` a window tracks its attached clients,
which will overwrite this the next time they change; `window-size manual`
is what makes a size of your own stick.

## Example

```ts
await window.resize({ height: 30, width: 100 });
```
