mirror of
https://github.com/louislam/dockge.git
synced 2025-02-26 05:25:56 +00:00
Merge 4d71a44d5b
into d451e06e84
This commit is contained in:
commit
963e1079f5
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue