# window.Window.resize

- **Module:** window.Window
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/window.ts#L327
- **Page:** https://libtmux.org/reference/ts/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 });
```
