macro_rules! color_bg_yellow {
    ($color_mode:expr) => { ... };
}
Expand description

Returns a color control string as defined in ASCII_BG_YELLOW based on ColorMode.

§Examples

use dmntk_common::{ColorMode, color_bg_yellow, ASCII_BG_YELLOW};

assert_eq!(ASCII_BG_YELLOW, color_bg_yellow!(ColorMode::On));
assert_eq!("", color_bg_yellow!(ColorMode::Off));