winconsole::window
pub fn get_size() -> WinResult<Vector2<i32>>
Returns the size of the console window in pixels.
let size = window::get_size().unwrap(); println!("Window size: {:?}", size);
IoError