Expand description
§Cirious Codex Term
A high-performance, zero-allocation terminal styling and manipulation library designed as the foundational bedrock for the Cirious ecosystem.
This crate provides an intuitive and elegant API for ANSI terminal colors, text styles, cursor movement, and screen clearing.
§Quick Start
Simply import the StyleExt trait to seamlessly style any type that
implements std::fmt::Display.
use cirious_codex_term::StyleExt;
// Style strings natively
println!("{}", "Warning: High memory usage!".yellow().bold().blink());
// Style any type seamlessly
let age = 25;
println!("You are {} years old.", age.green().underline());Re-exports§
pub use control::Color;pub use control::Cursor;pub use control::Screen;pub use control::Style;pub use control::StyleExt;pub use control::StyledText;pub use event::poll;pub use event::read;pub use event::Event;pub use event::KeyCode;pub use event::KeyEvent;pub use prompt::init_term;pub use prompt::RawModeGuard;pub use prompt::TerminalSize;