mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-29 00:27:52 +01:00
FbTty: fix \n printing
This commit is contained in:
@@ -14,6 +14,7 @@ FbTty::FbTty(Framebuffer *fb) : _fb(fb) {
|
|||||||
void FbTty::putchar(char c) {
|
void FbTty::putchar(char c) {
|
||||||
if (c == '\n') {
|
if (c == '\n') {
|
||||||
next_row();
|
next_row();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int x = 0; x < 8; x++) {
|
for (int x = 0; x < 8; x++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user