mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
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 <niryadav@redhat.com>
This commit is contained in:
parent
109222f024
commit
4d71a44d5b
1 changed files with 0 additions and 2 deletions
|
@ -164,7 +164,6 @@ export default {
|
||||||
mainTerminalConfig() {
|
mainTerminalConfig() {
|
||||||
this.terminal.onKey(e => {
|
this.terminal.onKey(e => {
|
||||||
const code = e.key.charCodeAt(0);
|
const code = e.key.charCodeAt(0);
|
||||||
console.debug("Encode: " + JSON.stringify(e.key));
|
|
||||||
|
|
||||||
if (e.key === "\r") {
|
if (e.key === "\r") {
|
||||||
// Return if no input
|
// Return if no input
|
||||||
|
@ -201,7 +200,6 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.cursorPosition++;
|
this.cursorPosition++;
|
||||||
this.terminalInputBuffer += e.key;
|
this.terminalInputBuffer += e.key;
|
||||||
console.log(this.terminalInputBuffer);
|
|
||||||
this.terminal.write(e.key);
|
this.terminal.write(e.key);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue