# PaneSize

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Creation.swift#L38
- **Page:** https://libtmux.org/en/swift/latest/reference/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.
