pub fn move_cursor_to(x: usize, y: usize)
Expand description

Moves the cursor to the specified position on the console.

Arguments

  • x - The horizontal position (column) to move the cursor to.
  • y - The vertical position (row) to move the cursor to.

Example

use console_utils::control::move_cursor_to;

// Move the cursor to column 3, row 5
move_cursor_to(3, 5);