From 764a24ba305957e6f0b2cd8434afb5e8e2748248 Mon Sep 17 00:00:00 2001 From: Luan Estradioto Date: Wed, 9 Oct 2024 11:44:29 -0300 Subject: [PATCH] fix ctrl v terminal --- resources/js/terminal.js | 4 ---- 1 file changed, 4 deletions(-) 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; }