PasteEvent

@Immutable
class PasteEvent(val text: String)

Text pasted into the terminal.

Paste events require a terminal which supports bracketed paste. Otherwise, and when no onPasteEvent handler consumes the event, the pasted text is delivered as individual key events instead, where each line break is an Enter key event.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard

The pasted text, with line breaks as \n.