Registry / cli / ansiterm

ansiterm

JSON →
library0.12.2rscratesunverified

Library for ANSI terminal colours and styles (bold, underline).

# Cargo.toml [dependencies] ansiterm = "0.12.2"
INSTALL
IMPORT
SIG · ANSITERM
A
ansiterm
clirustv0.12.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Style
use ansiterm::Style;

Print styled text to the terminal.

use ansiterm::Style; fn main() { let style = Style::new().bold().red(); println!("{}Hello{}", style.paint(""), style.paint("")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
Resources
ansiterm — cargo add ansiterm · libregistry