TerminalInputEncoder
interface TerminalInputEncoder
Encodes UI-level terminal input events into host-bound bytes.
Implementations are responsible for reading the current input-facing mode state at the appropriate event boundary and writing the resulting bytes to a host output sink.
The default factory implementation requires external serialization of calls and policy updates. Sessions bind custom encoders through TerminalInputEncoderFactory to session-owned mode state and ordered output, and serialize each instance's calls.
Functions
Link copied to clipboard
Encodes one focus transition event.
Link copied to clipboard
Encodes one keyboard event.
Link copied to clipboard
Encodes one mouse event.
Link copied to clipboard
Encodes one paste event.
Link copied to clipboard
Encodes one logical text replacement around the active cursor.
Link copied to clipboard
Updates the input policy dynamically.