cirious_codex_term 0.1.0

Next-generation native ANSI terminal control and formatting.
Documentation
//! # 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`.
//!
//! ```rust
//! use cirious_codex_term::traits::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());
//! ```

#![warn(missing_docs)]

/// ANSI color definitions and representations.
pub mod color;

/// Utilities for moving and manipulating the terminal cursor.
pub mod cursor;

/// Utilities for clearing the terminal screen or lines.
pub mod screen;

/// ANSI text formatting styles (e.g., bold, italic).
pub mod style;

/// Deferred formatting structures for optimal string styling.
pub mod styled;

/// Extension traits for adding styling methods to types.
pub mod traits;

pub use color::Color;
pub use cursor::Cursor;
pub use screen::Screen;
pub use style::Style;
pub use styled::StyledText;
pub use traits::StyleExt;