# tmux.PaneCells

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_geometry.go#L43
- **Page:** https://libtmux.org/reference/go/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.
