From 4d71a44d5bf986fd52c8b0e1fa911b0a97b80a90 Mon Sep 17 00:00:00 2001 From: Niraj Yadav Date: Tue, 6 Aug 2024 09:46:41 +0530 Subject: [PATCH] Remove logging of terminal buffer to console Every input is logged to the console for the default terminal. This patch removes the key logs. Signed-off-by: Niraj Yadav --- frontend/src/components/Terminal.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/components/Terminal.vue b/frontend/src/components/Terminal.vue index 5452738..01cfbb6 100644 --- a/frontend/src/components/Terminal.vue +++ b/frontend/src/components/Terminal.vue @@ -164,7 +164,6 @@ export default { mainTerminalConfig() { this.terminal.onKey(e => { const code = e.key.charCodeAt(0); - console.debug("Encode: " + JSON.stringify(e.key)); if (e.key === "\r") { // Return if no input @@ -201,7 +200,6 @@ export default { } else { this.cursorPosition++; this.terminalInputBuffer += e.key; - console.log(this.terminalInputBuffer); this.terminal.write(e.key); } });