mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
fix
This commit is contained in:
parent
f4cbd0eb12
commit
d1fedf1da5
1 changed files with 4 additions and 5 deletions
|
@ -91,8 +91,7 @@ U0 HandleControlCodes(U8 ch) {
|
||||||
break;
|
break;
|
||||||
case 13: // CR (Carriage Return)
|
case 13: // CR (Carriage Return)
|
||||||
// DocPrint(term.doc, "\r");
|
// DocPrint(term.doc, "\r");
|
||||||
// DocPrint(term.doc, "$$CM+LX+PRY,LE=0,RE=1$$");
|
DocPrint(term.doc, "$$CM+LX+PRY,LE=0,RE=1$$");
|
||||||
CursorUpdate(term.task, 0,1);
|
|
||||||
break;
|
break;
|
||||||
case 14: // SO (Shift Out) - Switch to an alternate character set
|
case 14: // SO (Shift Out) - Switch to an alternate character set
|
||||||
case 15: // SI (Shift In) - Switch back to the default character set
|
case 15: // SI (Shift In) - Switch back to the default character set
|
||||||
|
@ -537,9 +536,9 @@ U0 ANSIParse()
|
||||||
term.current_row = row;
|
term.current_row = row;
|
||||||
term.current_col = col;
|
term.current_col = col;
|
||||||
|
|
||||||
|
// can use WinCursorPosSet instead??
|
||||||
CursorUpdate(term.task, term.current_col, term.current_row);
|
// WinCursorPosSet(term.task, term.current_col-1, term.current_row-1);
|
||||||
// DocPrint(term.doc, "$$CM+LX+TY,LE=%d,RE=%d$$", term.current_col-1, term.current_row-1);
|
DocPrint(term.doc, "$$CM+LX+TY,LE=%d,RE=%d$$", term.current_col-1, term.current_row-1);
|
||||||
|
|
||||||
term.current_row = 1;
|
term.current_row = 1;
|
||||||
term.current_col = 1;
|
term.current_col = 1;
|
||||||
|
|
Loading…
Reference in a new issue