[−][src]Function winconsole::console::set_cursor_size
pub fn set_cursor_size(size: u8) -> WinResult<()>
Sets the size of the console cursor. Must be between 0 and 100 (inclusive).
Arguments
size
- The new cursor size.
Examples
console::set_cursor_size(50).unwrap();
Errors
ArgumentError
: Returned ifsize
exceeds 100.InvalidHandleError
: Returned if an invalid handle to the console output is retrieved or used.IoError
: Returned if an OS error occurs.