According to the Widget terminal-docs, 25 blank lines should do the trick:
for (int i = 0; i <= 24; i++) {
terminal.println(""); // "clear screen" in app.
}
terminal.flush();
According to the Widget terminal-docs, 25 blank lines should do the trick:
for (int i = 0; i <= 24; i++) {
terminal.println(""); // "clear screen" in app.
}
terminal.flush();