clear terminal

Staubgeborener
Posts: 20
Joined: Sat Jul 22, 2017 11:59 am

clear terminal

Postby Staubgeborener » Mon Jul 24, 2017 8:00 pm

Is there a command in esp-idf (mingw32 used) to clear the terminal?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: clear terminal

Postby kolban » Mon Jul 24, 2017 8:16 pm

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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 96 guests