We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e75262f + 0cc2ef0 commit c7286feCopy full SHA for c7286fe
source/Cosmos.System/Console.cs
@@ -63,8 +63,7 @@ public void NewLine() {
63
mX = 0;
64
if (mY == mText.Rows) {
65
mText.ScrollUp();
66
- mY = mText.Rows - 1;
67
- mX = 0;
+ mY--;
68
}
69
UpdateCursor();
70
@@ -93,8 +92,14 @@ public void Write(string aText) {
93
92
if (aText[i] == '\n') {
94
NewLine();
95
} else if (aText[i] == '\r') {
+ mX = 0;
96
+ UpdateCursor();
97
} else if (aText[i] == '\t') {
- Write(" ");
98
+ //Write(" ");
99
+ WriteChar(' ');
100
101
102
103
} else {
104
WriteChar(aText[i]);
105
0 commit comments