enum Termbox::InputMode
Overview
Input modes (bitwise).
Defined in:
termbox2/mode.crEnum Members
-
Current =
0 -
Makes
Termbox.get_input_modereturn 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 forKey::Escis 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 aKeyMod::Altmodifier. -
Mouse =
4 -
Can be applied via bitwise OR operation to either of the modes to receive
EventType::Mouseevents.If none of the main two modes were set, but the mouse mode was,
Escapemode is used.