retroglyph-core 0.1.0

A 2D pseudographic terminal library -- core types, no backend
Documentation

retroglyph-core

The no_std-compatible foundation of retroglyph: grid, tile, style, color, text, terminal, and event types, plus the Backend trait and a dependency-free Headless test backend. Platform backends (retroglyph-crossterm, retroglyph-software) and drawing helpers (retroglyph-widgets) are separate crates that depend on this one.

use retroglyph_core::{Terminal, Color, backend::Headless};

let mut term = Terminal::new(Headless::new(80, 24));
term.fg(Color::GREEN);
term.put(5, 5, '@');
term.present().unwrap();

See docs.rs for the full API, or the workspace README for the crate list and a real backend quick start.