LibTmux.Layout
Source and package
- Qualified name
-
LibTmux:: Layout - Declared in
LibTmux- Package
- LibTmux
- Source
- lib/LibTmux/Layout.rakumod
-
Description#
Observed layouts
Construct layouts and their cells through
decode-layout; directnewcalls are refused so captured bytes and validated structure stay together.Classic layouts validate their checksum and represented tiled tree;
0000,is the compatibility sentinel for no represented tiled cells. It does not prove the physical window lacks floating panes. JSON version 2 retains all cells, including floating placements with signed coordinates and z-index. The separatewindow_modal_paneobservation supplies:modal-pane-id; an empty string means known absence, while omission means not acquired.Unknown dialects and versions expose exact immutable
rawbytes andknown == False. They do not fabricate a tiled interpretation. Parsing and traversal perform no I/O. Input bytes, nesting, numeric spelling and node counts are bounded before or during parsing.
Members3#
- decode-layout function Decode a declared dialect. Unknown versions retain bytes without a guessed tree.
- Layout class Decoded layout plus exact source bytes, including unsupported future versions.
- LayoutNode class An immutable observed layout cell; floating leaves need not tile their parent.