[][src]Function winconsole::window::get_size

pub fn get_size() -> WinResult<Vector2<i32>>

Returns the size of the console window in pixels.

Examples

let size = window::get_size().unwrap();
println!("Window size: {:?}", size);

Errors