[][src]Function winconsole::console::get_cursor_size

pub fn get_cursor_size() -> WinResult<u8>

Returns the size of the console cursor. The size of the console cursor will always be between 0 and 100 (inclusive).

Examples

let cursor_size = console::get_cursor_size().unwrap();
println!("{}", cursor_size);

Errors