How do I clear the terminal screen on Android app?

Hi,

How do I clear the terminal screen on Android?

Actually, how do I write a “clear screen” command from ESP8266 standalone?

Thanks

It is not supported yet. The terminal is cleared when you close Blynk App.

is there any way to clear it from the code.
thanks

No. Sorry.

Yes:

terminal.println();
terminal.println();
terminal.println();
terminal.println();
terminal.println();
terminal.println();
terminal.flush();

or a for statement if you prefer.

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();
2 Likes