From 095694c63a9a1ea2ad5ba7fb905bf0101af5a009 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 25 Jun 2020 15:43:59 +0200 Subject: Base: fixed \r implementation in the TTY --- src/pOS/arch/x86/kernel/tty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pOS/arch/x86/kernel/tty.cpp b/src/pOS/arch/x86/kernel/tty.cpp index f82fd5e..fedd047 100644 --- a/src/pOS/arch/x86/kernel/tty.cpp +++ b/src/pOS/arch/x86/kernel/tty.cpp @@ -88,7 +88,7 @@ int TTY::tty_putentryat(unsigned char c, uint8_t color, size_t x, size_t y) tty_x--; } else if(c == '\r') - tty_x = 0; + tty_x = -1; else tty_map[x][y] = VGA::vga_entry(c, color); -- cgit 1.4.1