Skip to content

Commit

Permalink
fixed vvaas issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Namonay committed Jul 20, 2024
1 parent b9152a6 commit b01b34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/drivers/vga/vga.zig
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub fn moveCursor(dir : u8) void
vga.y -= 1;
if (dir == 77 and vga.x < vga.width - 1)
vga.x += 1;
if (dir == 80 and vga.y < vga.height - 1)
if (dir == 80 and vga.y < vga.height)
vga.y += 1;
if (dir == 72 and vga.y == 1)
reverseScroll();
Expand Down

0 comments on commit b01b34f

Please sign in to comment.