Enum rustbox::InputMode
[−]
[src]
pub enum InputMode { Current, Esc, Alt, EscMouse, AltMouse, }
Variants
Current
Esc
When ESC sequence is in the buffer and it doesn't match any known ESC sequence => ESC means TB_KEY_ESC
Alt
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.
EscMouse
Same as Esc
but enables mouse events
AltMouse
Same as Alt
but enables mouse events
Trait Implementations
impl Clone for InputMode
[src]
fn clone(&self) -> InputMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more