Fixed printing in test code

This commit is contained in:
Alex 2022-10-25 15:23:56 +03:00
parent d9973a01b5
commit 4912f9184f
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -13,6 +13,10 @@ void KernelMainThread()
int itrupd = 0; int itrupd = 0;
int BoxSize = 64; int BoxSize = 64;
uint32_t x, y;
Display->GetBufferCursor(0, &x, &y);
while (1) while (1)
{ {
Color++; Color++;
@ -41,6 +45,7 @@ void KernelMainThread()
break; break;
} }
Display->SetBufferCursor(0, x, y);
KPrint("\e22AA11Color test finished."); KPrint("\e22AA11Color test finished.");
while (1) while (1)