Trait modalkit_ratatui::TerminalCursor

source ·
pub trait TerminalCursor {
    // Required method
    fn get_term_cursor(&self) -> Option<TermOffset>;
}
Expand description

A widget that the user’s cursor can be placed into.

Required Methods§

source

fn get_term_cursor(&self) -> Option<TermOffset>

Returns the current offset of the cursor, relative to the upper left corner of the terminal.

Implementors§