[−][src]Function winconsole::console::get_cursor_position
pub fn get_cursor_position() -> WinResult<Vector2<u16>>
Returns the current position of the console cursor.
Examples
let position = console::get_cursor_position().unwrap(); println!("{:?}", position);
Errors
InvalidHandleError
: Returned if an invalid handle to the console output is retrieved or used.IoError
: Returned if an OS error occurs.