[−][src]Module termcandy::events
Functions and types for capturing user-input events.
Enums
Event | An event reported by the terminal. |
Key | A key. |
MouseButton | A mouse button. |
MouseEvent | A mouse related event. |
Functions
any | Any terminal user-input event |
any_key | Any keystroke. |
any_mouse_event | Any mouse event. |
any_unsupported | Any unsupported event, returned as a vector of bytes containing the unrecognized escape sequence. |
click | Mouse clicked. |
hold | Mouse button held and dragged. |
key | The given key. |
left_click | Mouse left button clicked. |
release | Mouse button released. |
right_click | Mouse right button clicked. |
unsupported | The given escape sequence, if the escape sequence wasn't parsed by termion. |