What problem does it solve?
The Erbsland Color Term library makes it easy to create colorful, interactive terminal UIs in C++ by providing a cohesive API surface (Terminal, CursorWriter, Buffer, CursorBuffer) and ready-to-use rendering patterns, avoiding low-level cursor juggling.
Core Features & Use Cases
- Colorful terminal output and Unicode-aware layouts using the
<erbsland/cterm/...> APIs, shared across live terminals and in-memory buffers.
- Full-screen rendering with buffers and the
updateScreen() workflow, plus retained history via CursorBuffer for dashboards, logs, and consoles.
- Flexible styling and composition with
CharAttributes, CharStyle, and Rectangle-driven layouts to build panels, frames, and responsive UIs.
- Common use cases include building terminal dashboards, interactive tools, and rapid-Prototyping of terminal apps.
Quick Start
Install erbsland-color-term, include <erbsland/cterm/all.hpp>, initialize a Terminal, and render a simple Buffer to verify lifecycle and basic output.