Skip to content

Commit e1ff211

Browse files
authored
Merge pull request coollabsio#3812 from LEstradioto/fix-ctrl-v-terminal
fix ctrl v terminal
2 parents ee54ecd + 764a24b commit e1ff211

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)