# tmux_model:pane/1

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_model.erl#L212
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_model-pane-1/

```
pane(Fields)
-spec pane(pane_input()) ->
              {ok, pane()} |
              {error, tmux_schema:error_detail()}.
```

Construct a detached pane row, validating required fields and scalar bounds without tmux I/O.

## Parameters

- `Fields` (`pane_input()`)
