Expand description
A module for handling key events
Structs§
- Crossterm
Events crossterm - An iterator over the input keys using the
crosstermcrate - KeyEvent
- Represents a key event.
- KeyModifiers
- Represents key modifiers (shift, control, alt).
- Termion
Events termion - An iterator over the input keys using the
termioncrate - Test
Events - A simple wrapper around a
KeyEventiterator that can be used in tests.
Enums§
- KeyCode
- Represents a key.
- Movement
- Movements that can be captured from a
KeyEvent. See the individual variants for what keys they capture
Traits§
- Event
Iterator - A trait to represent a source of
KeyEvents.
Functions§
- get_
events crosstermortermion - Gets the default
EventIteratorbased on the features enabled.