[][src]Function winconsole::console::set_background_color

pub fn set_background_color(color: ConsoleColor) -> WinResult<()>

Sets the background color of the console.

Arguments

Examples

console::set_background_color(ConsoleColor::DarkBlue).unwrap();

Errors