[−][src]Function winconsole::console::get_buffer_size
pub fn get_buffer_size() -> WinResult<Vector2<u16>>
Returns the size of the console output buffer.
Examples
let buffer_size = console::get_buffer_size().unwrap(); console::set_buffer_size(buffer_size.x + 1, buffer_size.y + 1);
Errors
InvalidHandleError
: Returned if an invalid handle to the console output is retrieved or used.IoError
: Returned if an OS error occurs.