mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[Quiz] Quick-fix for the print function
This commit is contained in:
@@ -7,7 +7,7 @@ void print(char * message) {
|
||||
int line_height = KDStringSize("M").height;
|
||||
KDDrawString(message, (KDPoint){.x = 0, .y = line_y});
|
||||
line_y += line_height;
|
||||
if (line_y > ION_FRAMEBUFFER_HEIGHT) {
|
||||
if (line_y > 160) {
|
||||
line_y = 0;
|
||||
ion_getchar();
|
||||
// Clear screen maybe?
|
||||
|
||||
Reference in New Issue
Block a user