Function term_cursor::get_pos[][src]

pub fn get_pos() -> Result<(i32, i32), Error>

Get the current cursor position.

The tuple returned contains the (x, y) coordinates of the cursor position.