Skip to main content

position

Function position 

pub fn position() -> Result<(u16, u16), Error>
Available on crate feature term only.
Expand description

Returns the cursor position (column, row).

The top left cell is represented 0,0.