Expand description
Terminal input events.
This module defines the event types that SLT delivers to your UI closure
each frame: keyboard, mouse, resize, paste, and focus events. In most
cases you’ll use the convenience methods on crate::Context (e.g.,
Context::key,
Context::mouse_down) instead of matching
on these types directly.
Structs§
- KeyEvent
- A keyboard event with key code and modifiers.
- KeyModifiers
- Modifier keys held during a key press.
- Mouse
Event - A mouse event with position and kind.
Enums§
- Event
- A terminal input event.
- KeyCode
- Key identifier.
- KeyEvent
Kind - The type of key event.
- Mouse
Button - Mouse button identifier.
- Mouse
Kind - The type of mouse event.