Enum rustbox::InputMode [] [src]

pub enum InputMode {
    Current,
    Esc,
    Alt,
    EscMouse,
    AltMouse,
}

Variants

When ESC sequence is in the buffer and it doesn't match any known ESC sequence => ESC means TB_KEY_ESC

When ESC sequence is in the buffer and it doesn't match any known sequence => ESC enables TB_MOD_ALT modifier for the next keyboard event.

Same as Esc but enables mouse events

Same as Alt but enables mouse events

Trait Implementations

impl Clone for InputMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for InputMode
[src]

impl Debug for InputMode
[src]

Formats the value using the given formatter.