enum Termbox::InputMode
Overview
Input modes (bitwise).
Defined in:
termbox2/mode.crEnum Members
-
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 forKey::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 aKeyMod::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.