Macro term_ansi::red

source ·
macro_rules! red {
    ($($arg:tt)*) => { ... };
}
Expand description

Applies red color to the provided format string.

§Arguments

  • args - The format string and its arguments.

§Example

use term_ansi::*;

println!("{}", red!("This is {} text", "red"));