This commit is contained in:
Niraj Yadav 2025-01-06 18:38:23 +00:00 committed by GitHub
commit 963e1079f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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