termgrid-core¶
termgrid-core is a deterministic grid state engine for terminal-like rendering.
It provides:
- A canonical
Gridstate model. - Structured draw operations (
RenderOp,Frame) applied viaRenderer. - 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¶
- Architecture: architecture.md
- Invariants: invariants.md
- Non-goals: non-goals.md
- Rationale: rationale.md
- Performance: performance.md
Contracts:
- Rendering model: rendering-model.md
- Style model: style-model.md
- Wire format v1: wire-format-v1
Guides:
- Getting started: getting-started.md
- Writing a backend: writing-a-backend
- Backend integration: backend-integration
Reference:
- Public API summary: public-api.md
- Feature flags: feature-flags