The client should reserve lines to avoid hops in the output display, fixes #414

This commit is contained in:
Guillaume Nodet
2021-05-19 11:46:40 +02:00
parent 9bcee2977b
commit c29c8ab4ae

View File

@@ -542,6 +542,9 @@ public class TerminalOutput implements ClientOutput {
lines.addAll(logs);
remLogLines -= logs.size();
}
while (remLogLines-- > 0 && lines.size() <= maxThreads + 1) {
lines.add(AttributedString.EMPTY);
}
} else {
int skipProjects = projectsCount - dispLines;
for (Project prj : projects.values()) {