Multiplexing: fix refreshMultiLine().

for orig commit dbfe83b
This commit is contained in:
Данила Горнушко 2023-11-23 00:48:40 +03:00
parent 05ece3c1ed
commit 73645ef92d

View file

@ -497,7 +497,9 @@ static void refreshMultiLine(struct linenoiseState *l, int flags) {
snprintf(seq,64,"\r\x1b[0K\x1b[1A");
abAppend(&ab,seq,strlen(seq));
}
}
if (flags & REFRESH_ALL) {
/* Clean the top line. */
snprintf(seq,64,"\r\x1b[0K");
abAppend(&ab,seq,strlen(seq));