# pane.Pane.resize

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

```
pane.Pane.resize(options: : ResizeOptions) -> Promise<void>
```

Resize this pane; tmux ignores a dimension its layout cannot honour.

Unzooms the window first, so a resize on a zoomed window restores the
layout as well as applying the size.

## Example

```ts
await pane.resize({ height: 20 });
```
