Registry / cli / term-painter

term-painter

JSON →
library0.4.0rscratesunverified

Coloring and formatting terminal output.

# Cargo.toml [dependencies] term-painter = "0.4.0"
INSTALL
IMPORT
SIG · TERM-PAINTER
T
term-painter
clirustv0.4.0
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.

ToStyle
use term_painter::ToStyle;

Print colored text to the terminal.

use term_painter::ToStyle; use term_painter::Color::*; fn main() { println!("{}This is red{}", Red.bold().paint(""), &*Reset); }
Debug
Known issues
breakingDeprecated in favor of termcolor or colored crates.
fix
Migrate to termcolor or colored for active maintenance.
affects: >=0.4.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources
term-painter — cargo add term-painter · libregistry