fix draw line

This commit is contained in:
2024-10-08 16:45:30 -04:00
parent dd8474ccac
commit 1b47194249
2 changed files with 12 additions and 11 deletions

View File

@@ -3,7 +3,8 @@ main :: () {
screen := New(Screen);
init_screen(screen, 5, 2);
draw_line(screen, 0, 0, 0, 0);
draw_line(screen, 0, 0, 2, 0);
draw(screen, 3, 0, color = .FG_GREEN);
print("%\n", screen.buffer);
}