TerminalEvent

sealed interface TerminalEvent(source)

An owned input snapshot. Receiving it releases the native event before returning.

Inheritors

Types

Link copied to clipboard
value class Key(val key: TerminalKey, val action: TerminalKeyAction, val modifiers: TerminalModifiers) : TerminalEvent
Link copied to clipboard
value class SubmittedLine(val text: String) : TerminalEvent

An atomic complete line from the host, admitted only by an opted-in receiver.

Link copied to clipboard
value class Text(val text: String) : TerminalEvent