# io.github.libtmux.Pane.Pane.resize

- **Module:** io.github.libtmux.Pane.Pane
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Pane.java#L201
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-pane-pane-resize/

```
io.github.libtmux.Pane.Pane.resize(direction: Direction, cells: int) -> void
```

Grows this pane by a number of cells in one direction.

## Parameters

- `direction` (Direction): which way to grow, named rather than flagged
- `cells` (int): how many terminal cells to grow by
