diff --git a/resources/js/terminal.js b/resources/js/terminal.js index 4cdab0e07..59c9a79a8 100644 --- a/resources/js/terminal.js +++ b/resources/js/terminal.js @@ -184,10 +184,6 @@ export function initializeTerminalComponent() { // Copy and paste functionality this.term.attachCustomKeyEventHandler((arg) => { if (arg.ctrlKey && arg.code === "KeyV" && arg.type === "keydown") { - navigator.clipboard.readText() - .then(text => { - this.socket.send(JSON.stringify({ message: text })); - }); return false; }