libtmux Reference MCP Search
On this page

PaneSize

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/Creation.swift
enum PaneSize : enum PaneSize
enum [source]
enum [source]
enum 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.

4 declared, 0 inherited

Members

  • 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.
  • !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
  • init(from:) method Creates a new instance by decoding from the given decoder.
Esc

Type to search.