Termbox::InputMode
Inherits Enum / Comparable / Value / Object
Input modes (bitwise).
Constants
Current = 0
Makes Termbox.get_input_mode return the current input mode.
Escape = 1
When escape (\x1b) is in the buffer and there's no
match for an escape sequence, a key event for Key::Esc
is returned.
Alt = 2
When escape (\x1b) is in the buffer and there's no match
for an escape sequence, the next keyboard event is returned
with a KeyMod::Alt modifier.
Mouse = 4
Can be applied via bitwise OR operation to either of the
modes to receive EventType::Mouse events.
If none of the main two modes were set, but the mouse
mode was, Escape mode is used.