tui.fixed
tui.fixed PARENT CELL_W CELL_H CHILD[:SPAN[:nl]]...
Lays children out as fixed-size cells that flow left to right and wrap, like keys on a keyboard.
Parameters
CELL_W,CELL_H: size of one cell in columns and rows.CHILD: pane name.SPANmakes it that many cells wide (default1). A third field (any text, e.g.nl) starts a new row before this child.
Notes
- Sizes never stretch with the window. Children that don’t fit get a 0×0 rectangle and are not drawn.
- Children start with no border.
tui.get.splitonPARENTprintsf.
Example
tui.fixed keys 6 3 esc f1 f2 f3 tab:2:nl q w e
See also: tui.grid
