diff options
author | Your Name <you@example.com> | 2020-06-25 15:43:59 +0200 |
---|---|---|
committer | Your Name <you@example.com> | 2020-06-25 15:43:59 +0200 |
commit | 095694c63a9a1ea2ad5ba7fb905bf0101af5a009 (patch) | |
tree | 3b9d7f9e43b63a8d04db0f3d8a18cec89ffc544f | |
parent | Update Readme (diff) | |
download | pOS-095694c63a9a1ea2ad5ba7fb905bf0101af5a009.tar.gz pOS-095694c63a9a1ea2ad5ba7fb905bf0101af5a009.tar.bz2 pOS-095694c63a9a1ea2ad5ba7fb905bf0101af5a009.zip |
Base: fixed \r implementation in the TTY
-rw-r--r-- | src/pOS/arch/x86/kernel/tty.cpp | 2 |
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); |