forked from test34/can_wizard
Multiplexing: fix refreshMultiLine().
for orig commit dbfe83b
This commit is contained in:
parent
05ece3c1ed
commit
73645ef92d
1 changed files with 2 additions and 0 deletions
|
@ -497,7 +497,9 @@ static void refreshMultiLine(struct linenoiseState *l, int flags) {
|
||||||
snprintf(seq,64,"\r\x1b[0K\x1b[1A");
|
snprintf(seq,64,"\r\x1b[0K\x1b[1A");
|
||||||
abAppend(&ab,seq,strlen(seq));
|
abAppend(&ab,seq,strlen(seq));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (flags & REFRESH_ALL) {
|
||||||
/* Clean the top line. */
|
/* Clean the top line. */
|
||||||
snprintf(seq,64,"\r\x1b[0K");
|
snprintf(seq,64,"\r\x1b[0K");
|
||||||
abAppend(&ab,seq,strlen(seq));
|
abAppend(&ab,seq,strlen(seq));
|
||||||
|
|
Loading…
Reference in a new issue