From 8968c3769d7f60a255d1aca5fdbe644d488df936 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 7 Sep 2024 11:38:57 +0200 Subject: [PATCH] fix: \r --- src/terminal/terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/terminal.c b/src/terminal/terminal.c index dcdc7e5..a898119 100644 --- a/src/terminal/terminal.c +++ b/src/terminal/terminal.c @@ -52,7 +52,7 @@ void terminal_putentryat(char c, uint8_t color, size_t x, size_t y) int terminal_putchar(char c) { if (c == '\r') - terminal_row = 0; + terminal_column = 0; else if (c == '\n') { terminal_column = 0; terminal_row++;