# io.github.libtmux.PaneSize.PaneSize

- **Module:** io.github.libtmux.PaneSize
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/PaneSize.java#L15
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-panesize-panesize/

How big a new pane should be.

One value with two spellings, not a size and a percentage. tmux takes both through {@code -l},
so there is no pair of fields to hold consistent and no "both were given" error to raise — the
Python sibling's {@code size}/{@code percentage} pair and the {@code ValueError} guarding it both
disappear.

tmux's own {@code -p} flag is never emitted. It is broken in 3.4, which reads the {@code -l}
argument while handling {@code -p} and fails with {@code size missing}; {@code -l 25%} produces the
same pane on every supported release.

## Members

- `Cells` (struct): A size in terminal cells.
- `Percent` (struct): A share of what is being split.
- `cells` (method): A size in terminal cells.
- `percent` (method): A share of what is being split, between 1 and 100.
- `flagValue` (method): What follows {@code -l}.
