[][src]Function winconsole::console::set_cursor_position

pub fn set_cursor_position(column: u16, row: u16) -> WinResult<()>

Sets the position of the console cursor.

Arguments

Examples

Sets the cursor position to the start position of the console.

console::set_cursor_position(0, 0).unwrap();

Errors