mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Implemented Escape Sequences!!!!
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user