Expand description
16-byte cell type — the atom of the cell-grid renderer.
Cells are cursor-invariant: anything that changes layout or
glyph content lives here; anything cursor-coupled lives in
OverlayState (S2). See
docs/dev/architecture/cell-grid-renderer.md § Decoration
assignment for the full rule.
Modules§
- flags
- Bit positions inside
Cell::flags. Use the named constants; raw bit math here would be a future maintenance hazard.
Structs§
- Cell
- One renderable cell. Exactly 16 bytes: codepoint (4) + fg (4) + bg (4) + flags (2) + padding (2). 4 cells per 64-byte cache line, which makes row walks cache-friendly.