Expand description
Clipped drawing surface over a ratatui Buffer.
Components paint through a Surface, which owns a mutable borrow of the
frame buffer plus a clip Rect. Every write is intersected with the clip
region, so a child can never scribble outside the area the layout gave it —
this is what makes scroll viewports and overlays safe to compose. ratatui
still owns the shadow-buffer diff against the terminal, so tuika pays
nothing extra for dirty-cell tracking.
Structs§
- Surface
- A clipped view into the frame buffer for one component.