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