added fix for multiline representing as one line

This commit is contained in:
dvolynets 2020-01-13 12:15:27 +03:00
parent 02cccd1e87
commit ceee039cfc

View File

@ -216,8 +216,10 @@ static void tty_string(char *p)
while (*p) {
tty_show(*p++);
if ((i++) % tty_cols == 0)
tty_put('\n');
if ((i++) % tty_cols == 0) {
tty_put(' ');
tty_put('\b');
}
}
}