# pane.Pane.resize

- **Module:** pane.Pane
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/pane.ts#L296
- **Page:** https://libtmux.org/reference/ts/pane-pane-resize/

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

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

## Example

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