Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

module libtmux-raku latest

LibTmux.Layout

Source and package
Qualified name
LibTmux::Layout
Declared in
LibTmux
Package
LibTmux
Source
lib/LibTmux/Layout.rakumod
Anonymous module

Description#

Observed layouts

Construct layouts and their cells through decode-layout; direct new calls 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 separate window_modal_pane observation supplies :modal-pane-id; an empty string means known absence, while omission means not acquired.

Unknown dialects and versions expose exact immutable raw bytes and known == 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.
Esc

Type to search.

Reference previewOpen reference