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
+4
View File
@@ -11,6 +11,10 @@ void print(const char* s) {
write(STDOUT, s, strlen(s));
}
void clear() {
print("\x1b[J");
}
void putc(char c) {
static char _c; // We need to pass in a static address. Idk why
_c = c;