Skip to main content

Module control

Module control 

Source
Expand description

ANSI control structures (Colors, Styles, Cursor, and Screen).

Re-exports§

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

Modules§

color
ANSI color definitions and representations.
cursor
Utilities for moving and manipulating the terminal cursor.
screen
Utilities for clearing the terminal screen or lines.
style
ANSI text formatting styles (e.g., bold, italic).
styled
Deferred formatting structures for optimal string styling.
traits
Extension traits for adding styling methods to types.