return the udp-telnet to tcp-telent with bar

This commit is contained in:
2023-01-11 15:43:04 +02:00
parent 0cd699b2d3
commit af24e54ce1
5 changed files with 34 additions and 11 deletions

View File

@@ -180,16 +180,16 @@ class Term {
switch (ev.domEvent.key) {
case "Enter":
ev.domEvent.preventDefault();
// this.writeStr("\r\n");
this.writeStr("\r\n");
break;
case "Backspace":
ev.domEvent.preventDefault();
// this.writeStr("\b \b");
this.writeStr("\b \b");
break;
default:
if (printable) {
ev.domEvent.preventDefault();
// this.writeStr(ev.key);
this.writeStr(ev.key);
}
}
});