This commit is contained in:
y4my4my4m 2023-05-13 13:26:55 +09:00
parent 7aa082e962
commit dbdd3d5468

View file

@ -56,7 +56,6 @@ I64 TelnetOpen(U8 *host, U16 port) {
} }
U0 HandleControlCodes(U8 ch) { U0 HandleControlCodes(U8 ch) {
Sleep(100);
if (ch < 32) { // ASCII code below 32 (control character) if (ch < 32) { // ASCII code below 32 (control character)
switch (ch) { switch (ch) {
case 0: // NUL (Null) - Typically ignored case 0: // NUL (Null) - Typically ignored
@ -73,7 +72,7 @@ U0 HandleControlCodes(U8 ch) {
DocPrint(term.doc, "$$CM,8,0$$"); DocPrint(term.doc, "$$CM,8,0$$");
break; break;
case 10: // LF (Line Feed) case 10: // LF (Line Feed)
DocPrint(term.doc, "\n"); // DocPrint(term.doc, "\n");
break; break;
case 11: // VT (Vertical Tab) case 11: // VT (Vertical Tab)
SysLog("Vertical Tab\n"); SysLog("Vertical Tab\n");