# tmux.PaneCells

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/pane_geometry.go#L43
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-panecells/

```
tmux.PaneCells(cells: int) -> PaneSize
```

PaneCells returns an explicit pane size measured in cells. Resize validates that cells is nonnegative; zero remains an explicit request.
