Skip to main content

Module block

Module block 

Source
Expand description

Compose Grid values before drawing them.

join_h and join_v concatenate several Grids into one, side-by-side or stacked, via Grid::blit. Grid is constructible without a Backend/Terminal, so composing widget output ahead of drawing it means composing Grids directly, with no separate cell/buffer type.

Functionsยง

join_h
Concatenate grids left-to-right into one Grid (layer 0 only).
join_v
Stack grids top-to-bottom into one Grid (layer 0 only).