Event Paste
Raised when the terminal delivers a bracketed paste. Fires before the paste is dispatched to the focused view; set Handled on the event arguments to true to prevent the focused view from receiving the paste.
event EventHandler<PasteEventArgs>? Paste
Returns
- EventHandler<PasteEventArgs>
- Raised when the terminal delivers a bracketed paste. Fires before the paste is dispatched to the focused view; set on the event arguments to true to prevent the focused view from receiving the paste.
Remarks
Bracketed paste mode is enabled automatically by the driver. On terminals that do not support bracketed paste (or have it disabled by user configuration) the pasted text is delivered as ordinary key events and this event does not fire.