terminal/event library

Classes

AudioApcReplyEvent
Event representing an inbound ESC _ A APC reply payload (e.g., a=waver).
CursorPositionReportEvent
Event representing cursor position report.
FocusInEvent
Event fired when terminal receives focus.
FocusOutEvent
Event fired when terminal loses focus.
InputEvent
Base class for all input events.
KeyEvent
A keyboard event.
KittyGraphicsEvent
Event representing a Kitty Graphics response (e.g. from capability query a=q).
KittyKeyboardEvent
Event representing a Kitty Keyboard Protocol flags response (CSI ? flags u).
MouseEvent
A mouse event.
PasteEvent
A bracketed paste event.
TermKey
Constants for common key string representations (baseKey and logicalKey). These can be used in switch statements to pattern match on KeyEvent.baseKey or KeyEvent.logicalKey.

Enums

KeyEventType
The transition type of a key event.
KeyType
Types of keys that can be pressed.
Modifier
Keyboard modifiers.
MouseButton
Mouse buttons.
MouseEventType
Mouse event type.