diff --git a/src/terminal/terminal.c b/src/terminal/terminal.c index d782231..dcdc7e5 100644 --- a/src/terminal/terminal.c +++ b/src/terminal/terminal.c @@ -51,10 +51,11 @@ void terminal_putentryat(char c, uint8_t color, size_t x, size_t y) int terminal_putchar(char c) { - if (c == '\n') { + if (c == '\r') + terminal_row = 0; + else if (c == '\n') { terminal_column = 0; terminal_row++; - return 1; } if (!isprint(c)) return 1;