Skip to content

Commit 764a24b

Browse files
committed
fix ctrl v terminal
1 parent d031911 commit 764a24b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

resources/js/terminal.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ export function initializeTerminalComponent() {
184184
// Copy and paste functionality
185185
this.term.attachCustomKeyEventHandler((arg) => {
186186
if (arg.ctrlKey && arg.code === "KeyV" && arg.type === "keydown") {
187-
navigator.clipboard.readText()
188-
.then(text => {
189-
this.socket.send(JSON.stringify({ message: text }));
190-
});
191187
return false;
192188
}
193189

0 commit comments

Comments
 (0)