working clear function

This commit is contained in:
Ole Morud
2022-06-08 17:55:37 +02:00
parent 0b748cf2b7
commit 8b74e263f0

View File

@@ -102,6 +102,7 @@ void line(Canvas* c, uint start_x, uint start_y, uint end_x, uint end_y){
//TODO: find escape sequence for clearing screen
void clear(){
printf("function clear() not implemented yet");
printf("\033[2;2H");
//printf("function clear() not implemented yet");
}