Tenui
A TUI framework
[]
= "0.1"
use io;
use ;
What it does
Double-buffered differential rendering with SGR coalescing — only changed cells hit stdout. Two rendering modes:
- Immediate —
Terminal::drawclears and redraws each frame. Simple. - Retained —
Appreactor withSignal<T>, two-lane invalidation (PAINT vs LAYOUT), and Taffy flexbox. Only dirty regions recompute.
Default features give you core through widgets. Opt in to the rest:
= { = "0.1", = ["tokio", "simd", "media"] }
Examples
Docs
- Getting Started
- Concepts — rendering pipeline, immediate vs retained, sync vs async
- Widgets
License
MIT OR Apache-2.0