bg

Macro bg 

Source
macro_rules! bg {
    ( $str: tt ) => { ... };
    ( $other: expr) => { ... };
}
Expand description

Adds a background to text. See also the different bg_{color} methods to be able to display text with a background and text color (e.g. [bg_blue!])

ยงExample

printlnc!(bg!(green!("This text has a green background")))