PaneSize
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Creation.swift
-
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.
2 declared, 2 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.
Inherited members
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
- init(from:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.