A rust crate to easily print colored text in terminal.
use terminal_color::{colored_println, Color, TermColor};
fn main() {
colored_println!(
"%This text is red on blue% this is normal %and this one is blue on black%",
TermColor::new(Color::Red, Color::Blue),
TermColor::new(Color::Blue, Color::Current)
)
}
More examples in the examples folder