Implemented Escape Sequences!!!!

This commit is contained in:
2024-05-28 20:42:03 +02:00
parent 74c38342d7
commit 7a2afbd653
8 changed files with 126 additions and 27 deletions
+3 -3
View File
@@ -52,6 +52,8 @@ void main() {
// Screen setup
loadFont("term16n.fnt");
terminal->fg = FG_COLOR;
terminal->bg = BG_COLOR;
clear();
print("kern.\n\n");
@@ -264,9 +266,7 @@ void main() {
uint32_t physicalAddress = (uint32_t)allocPage(&page);
if (mapPage((void*)physicalAddress, (void*)(entryPoint + i * PAGE_SIZE)) != 0) {
fgColor = RED;
print("\nNot enough memory to allocate!\n");
fgColor = FG_COLOR;
print("\n\x1b[1MNot enough memory to allocate!\n");
break;
}
}