Trait termion::cursor::DetectCursorPos [] [src]

pub trait DetectCursorPos {
    fn cursor_pos(&mut self) -> Result<(u16, u16)>;
}

Types that allow detection of the cursor position.

Required Methods

Get the (1,1)-based cursor position from the terminal.

Implementors