mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
fix
This commit is contained in:
parent
7aa082e962
commit
dbdd3d5468
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue