mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 12:31:45 +08:00
Merge pull request #38 from echoprotocol/ECHO-732
added fix for multiline representing as one line
This commit is contained in:
commit
8d5d04f667
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user