Expand description
§rustui
The simplest terminal UI library designed for Rust. Developed with Rust’s ownership model and safety guarantees in mind.
§Features
- Cross-platform: Works on Unix-like systems (Linux, macOS, etc.)
- Double Buffering: Efficient rendering with differential updates
- Rich Text Styling: Support for colors, attributes (bold, italic, underline, etc.)
- Non-blocking Input: Asynchronous keyboard input handling
- Thread-safe: Multi-threaded rendering and input processing
§Architecture
The library is organized into several core modules:
framebuffer
- Character grid for efficient renderingwindow
- High-level windowing abstraction with thread managementinput
- Non-blocking keyboard and mouse input handlingterm
- Terminal colors, attributes, and ANSI escape sequencesattr
- Text attributes and stylingcolor
- Color manipulation and conversion utilitiesrender
- Rendering utilities and drawing primitives
§Performance
rustui is optimized for performance with:
- Differential updates (only changed cells are redrawn)
- Efficient ANSI sequence generation
Re-exports§
pub use attr::*;
pub use color::*;
pub use framebuffer::*;
pub use input::*;
pub use render::*;
pub use term::*;
pub use window::*;