update module

This commit is contained in:
2024-10-09 00:55:57 -04:00
parent 1b47194249
commit e29f27266a
3 changed files with 80 additions and 26 deletions

View File

@@ -1,10 +1,15 @@
main :: () {
screen := New(Screen);
init_screen(screen, 5, 2);
init_screen(screen, 3, 2);
draw_line(screen, 0, 0, 2, 0);
draw(screen, 3, 0, color = .FG_GREEN);
fill_entire_screen(screen, color = .FG_BLACK);
// draw(screen, 0, 0, color = .FG_GREEN);
draw_line(screen, 0, 0, 0, 1);
// draw(screen, 3, 0, color = .FG_GREEN);
// Render to terminal output
//swap_buffer(screen);
print("%\n", screen.buffer);
}