Macro term_ansi::green

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

Applies green color to the provided format string.

§Arguments

  • args - The format string and its arguments.

§Example

use term_ansi::*;

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