We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 125e976 commit 98ed4f1Copy full SHA for 98ed4f1
lib/terminal.ts
@@ -243,6 +243,7 @@ export class Terminal implements ITerminalCore {
243
// Setup paste event handler on textarea
244
this.textarea.addEventListener('paste', (e: ClipboardEvent) => {
245
e.preventDefault();
246
+ e.stopPropagation(); // Prevent event from bubbling to parent (InputHandler)
247
const text = e.clipboardData?.getData('text');
248
if (text) {
249
// Use the paste() method which will handle bracketed paste mode in the future
0 commit comments