diff --git a/kernel/src/tty.cpp b/kernel/src/tty.cpp index 196f674..7186621 100644 --- a/kernel/src/tty.cpp +++ b/kernel/src/tty.cpp @@ -28,7 +28,10 @@ auto TTY::putChar(int c) -> void { default: plotChar(x, y, c); x++; - if (x > width) y++; + if (x > width) { + y++; + x = 0; + } if (y >= height) scroll(); } }