[][src]Function winconsole::console::get_background_color

pub fn get_background_color() -> WinResult<ConsoleColor>

Returns the current background color of the console.

Examples

let background = console::get_background_color().unwrap();
println!("Background color: {}", background);

Errors