Skip to content

termgrid-core

termgrid-core is a deterministic grid state engine for terminal-like rendering.

It provides:

  • A canonical Grid state model.
  • Structured draw operations (RenderOp, Frame) applied via Renderer.
  • Unicode-aware glyph width policy via GlyphRegistry / RenderProfile.
  • Explicit wide-glyph representation (Cell::Continuation).
  • Damage tracking (Damage, Rect) for incremental redraw.
  • Backend decoupling: state mutation is separate from output emission.

This crate does not implement a terminal emulator. It does not parse ANSI input streams, manage input state, scrollback, or event loops.

Documents

Contracts:

Guides:

Reference: