Table of Contents

Event Paste

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Event raised when bracketed paste content is delivered. The string contains the raw pasted text with the ANSI bracketing markers stripped.

event EventHandler<string>? Paste

Returns

EventHandler<string>
Event raised when bracketed paste content is delivered. The string contains the raw pasted text with the ANSI bracketing markers stripped.

Remarks

Bracketed paste mode must be enabled by the driver (typically by writing CSI_EnableBracketedPaste at startup). On terminals that do not support bracketed paste, pasted text is delivered as ordinary key events instead.