Clearing the console [New post?]

I noticed a post in 2015 - did not see any new ones BUT.
Can an option to clear the serial console when a new sketch is initialized be re-implemented.
I think I remember the V1.x series doing so each time the program restarted but I may be mistaken.
Still it would be nice if a user settable preference could be added as I use the console a lot during my development phase as I suppose most people do and it can get very long.

Regards Colin

There is a similar request based on a special character: Clear Serial Monitor output field on receipt of control character · Issue #1726 · arduino/arduino-ide · GitHub. I know it's not exactly the same as what you suggested. And you're rightb that IDE 1.x indeed clears the serial monitor after a upload.

I could not immediately find your exact request so you can make a suggestion (feature request) on github (if you have a github account): https://github.com/arduino/arduino-ide/issues/new?assignees=&labels=type%3A+enhancement&projects=&template=feature-request.yml

And there is a request to implement a more full-fledged system: Serial Monitor plugin system to be able to add protocols like VT100, VTX, VTnnn, etc. · Issue #406 · arduino/arduino-ide · GitHub.

I like solutions that I control.

void setup() {
  for (int i = 0; i < 8; i++)
    Serial.println();
}

What about the user who wants the old data, or is connected to a printer? Do they need to change 15 years of Arduino code to not clear the Serial Monitor?

Which version? I just tried with 1.8.19 and it does not clear it.

There was a couple of older versions of Arduino IDE that did this, but that behavior was unintentional and was considered a bug:

and fixed in Arduino IDE 1.8.12:

I do not have access to my normal Windows PC. It must have been one of the following:
1.6.6
1.8.5
1.8.13
1.8.19

Sorry if I was the bringer of false information.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.