Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix ctrl v terminal

Luan Estradioto764a24ba3059
diff --git a/resources/js/terminal.js b/resources/js/terminal.js
index 4cdab0e07c..59c9a79a8d 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;
}