# 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/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/PaneSize.java#L15
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-panesize-panesize/

How big a new pane should be.

<p>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.

<p>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}.
