Expand description
Screen-cell storage, the render back-buffer, and the cell diff.
Cell is one character cell; DrawBuffer is a scratch row a view fills
and blits; Buffer is the full in-memory screen grid that the whole view
tree paints into each frame, then diffs against the previous frame so only
changed cells reach the terminal. The snapshot
module renders a Buffer to a deterministic golden string for tests.
Guide: Drawing & backends.
Modules§
Structs§
- Buffer
- In-memory screen grid; the render target for one complete frame.
- Cell
- One character cell of the screen: its text (a grapheme cluster), its colour
Style, and the wide/trail flags that track double-width glyphs. - Draw
Buffer - A fixed-width row of screen cells under construction.