You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can either clear the display (display.clear()) before displaying lines2 or add a common footer to your lines to be displayed:
List<AttributedString> lines1 = new ArrayList<>();
for (int i = 1; i < height; i++) {
lines1.add( new AttributedString(String.format("%03d: %s", i, "Chaine de test...")));
}
lines1.add(new AttributedString(">>>"));
List<AttributedString> lines2 = new ArrayList<>();
for (int i = 0; i < height - 1; i++) {
lines2.add(new AttributedString(String.format("%03d: %s", i, "Chaine de test...")));
}
lines2.add(new AttributedString(">>>"));
Hi,
I'm using the artifact jline-terminal to build a user interface. In some conditions, the last line is not displayed
1 : Display lines on every lines of the terminal :
2 : Display the same lines but all shift down with a first new lines
Below a fonction to reproduce it. I tested it on iTerm2 and in a 'standard' terminal on MacOS.
echo $TERM
xterm-256color
BR
The text was updated successfully, but these errors were encountered: