diff --git a/kernel.c b/kernel.c index 95be315b9d17def93d984edd1e028cb86e66107c..d9a6b6efbfa7224b9de2540c1b4dfb0193ed1fb7 100644 --- a/kernel.c +++ b/kernel.c @@ -91,8 +91,8 @@ void terminal_putentryat(char c, uint8_t color, size_t x, size_t y) { for (size_t x = 0; x < VGA_WIDTH; x++) { terminal_buffer[(VGA_HEIGHT - 1) * VGA_WIDTH + x] = make_vgaentry(' ', color); } - // Move the cursor to the last row - y = VGA_HEIGHT - 1; + // Move the cursor to the next row + y = y + 1; } const size_t index = y * VGA_WIDTH + x;