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.
Quick start
[]
= "0.1"
use ;
let mut term = new;
term.fg;
term.put;
term.present.unwrap;
Headless never touches a real terminal or window, so this runs anywhere -- including this README's
own doctest (see src/lib.rs's #[cfg(doctest)] include). For a real backend, add
retroglyph-crossterm or
retroglyph-software and see the
workspace README's quick start.
See docs.rs for the full API, or the workspace README for the crate list and a real backend quick start.