about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pOS/arch/x86/kernel/tty.cpp2
1 files changed, 1 insertions, 1 deletions
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);