winconsole::window
pub fn get_display_state() -> WinResult<DisplayState>
Returns the display state of the console window.
println!("State: {:?}", window::get_display_state().unwrap());
IoError