[][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