Skip to main content

CellRenderer

Comptime cell renderer. You supply hooks for cursor shape, hyperlink hits, and selection highlights.
textRunBatchingSafe reports whether adjacent cells can merge into one text draw call (same style, no wide-char boundary).

Renderer facade

vte.Renderer wraps command list allocation, damage rects, and quad_renderer playback for simpler embedders.

Integration with otter-term

otter-term maps Ghostty screen cells into MyCell, wires PTY resize, forwards pointer selection. New terminal drawing belongs in hooks here, not copy-pasted in the app.