Merge branch 'next' into feat/open-version-new-tab

This commit is contained in:
Lucas Reis 2024-10-10 14:55:27 +02:00 committed by GitHub
commit 927a8adcc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}