Merge pull request #38 from echoprotocol/ECHO-732

added fix for multiline representing as one line
This commit is contained in:
Joachim Nilsson
2020-01-13 19:04:28 +01:00
committed by GitHub

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');
}
}
}