Add: graphics mode terminal scrolling

This commit is contained in:
xamidev
2024-08-23 13:05:53 +02:00
parent f8eb658c33
commit f1a9f84f24
8 changed files with 86 additions and 33 deletions

View File

@@ -3,6 +3,7 @@
#include "../libc/stdio.h"
#include "../kernel/system.h"
#include "../libc/string.h"
#include "../drivers/framebuffer.h"
// Print a rainbow colorful text for testing
@@ -29,7 +30,7 @@ void program_rainbow()
void program_clear()
{
for (int i=0; i<ROWS; i++) scroll(1);
for (int i=0; i<ROWS; i++) scroll();
}
// Get uptime in ticks