Skip to content

Set forground and background in one call

Michael Aaron Murphy requested to merge H4kor:master into master

Created by: H4kor

Utility struct to set foreground and background color in one call.

Example:

println!("{}BlueOnRed", color::FBg(color::Blue, color::Red)); instead of println!("{}{}Blue", color::Fg(color::Blue), color::Bg(color::Red));

Merge request reports