Module layout

Source
Expand description

Parse the window layout string.

Tmux reports the layout for a window, it can also use it to apply an existing layout to a window.

A window layout has this format:

"41e9,279x71,0,0[279x40,0,0,71,279x30,0,41{147x30,0,41,72,131x30,148,41,73}]"

The parser in this module returns the corresponding WindowLayout.

Structs§

WindowLayout
Represent a parsed window layout.

Functions§

parse_window_layout
Parse the Tmux layout string description and return the pane-ids.