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

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

Types that allow detection of the cursor position.

Required methods

fn cursor_pos(&mut self) -> Result<(u16, u16)>

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

Loading content...

Implementors

impl<W: Write> DetectCursorPos for W[src]

Loading content...