terminal/terminal library
Classes
- AudioApcReplyEvent
-
Event representing an inbound
ESC _ AAPC reply payload (e.g.,a=waver). - BufferedTerminalBackend
- A terminal backend that maintains a rendering buffer.
- ControlSequence
- Represents a parsed ANSI control sequence from the terminal input.
- 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.
- Terminal
- The main entry point for interacting with the terminal backend.
- TerminalBackend
- An abstract base class for native terminal backend implementations.
- 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.
- MousePointer
- Represents the mouse pointer shapes supported by compatible terminals via OSC 22.