# PaneSize

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Creation.swift#L37
- **Page:** https://libtmux.org/reference/swift/panesize/

How big a split makes the pane it creates.

Both spellings are one tmux flag, `-l`, which reads a percentage when the
value ends in `%`. Modelling them as separate cases keeps a caller from
building that string, and from having to remember which of the two a bare
number means.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `cells(_:)` (constant) — Columns for a side-by-side split, rows for a stacked one — the axis follows the direction, because that is the one the split divides.
- `percentage(_:)` (constant) — A share of what the pane being split has, rounded down by tmux.
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
