Page 1 of 1

clear terminal

Posted: Mon Jul 24, 2017 8:00 pm
by Staubgeborener
Is there a command in esp-idf (mingw32 used) to clear the terminal?

Re: clear terminal

Posted: Mon Jul 24, 2017 8:16 pm
by kolban
Howdy,
When you are using an ESP32 you can attach a terminal emulator or other application to the serial port input into your PC. This input will come as output of the ESP32 serial connection. This is not a "full screen" stream but is instead just a sequence of diagnostic lines that get appended to the output and cause the resulting diagnostics to scroll.

With that in mind, when you say you want to "clear the terminal" I am assuming you want to clear the display such that no older logs messages are being displayed. How you achieve that is going to be determined by the tool you are using to view the log lines received from serial in the first place. What tool are you using to view the serial debugging log output from your ESP32?