Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear Serial Monitor output field on receipt of control character #1726

Open
rin67630 opened this issue Nov 26, 2018 · 2 comments · May be fixed by #1992
Open

Clear Serial Monitor output field on receipt of control character #1726

rin67630 opened this issue Nov 26, 2018 · 2 comments · May be fixed by #1992
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: enhancement Proposed improvement

Comments

@rin67630
Copy link

rin67630 commented Nov 26, 2018

Currently the serial monitor just displays incremental content (with / wo scrolling).
There is no way to clear the screen from the arduino output in order to get a static screen.
There has been some requirements in the past to include ANSI functionality, but the discussion always stalled...
May I suggest to keep it simple and stupid? Please just provide a simple clear screen byte
(e.g. Serial.write (12); // ASCII Form Feed to clear the screen).
That simple improvement could make static screens and menues doable on the serial monitor.

n.b. IMHO using an external ANSI terminal is not in the philosopy of the Arduino IDE.
That is already something for freaks, needs external software, and the need to release the serial connection upon compiling is a pain.

Additional context

Additional requests

Related
@per1234

This comment was marked as duplicate.

@per1234 per1234 transferred this issue from arduino/Arduino Dec 1, 2022
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor labels Dec 1, 2022
@per1234 per1234 changed the title Please provide a clear-screen function to the serial monitor. Clear Serial Monitor output field on receipt of control character Feb 23, 2023
@per1234 per1234 linked a pull request Mar 12, 2024 that will close this issue
4 tasks
@vvb333007
Copy link

vvb333007 commented Nov 19, 2024

Here is Clear-Screen standart control sequence but SerialMonitor do not support them: "\033[H\033[2J"
As I can understand, the widget they use is the string list container, thats the root of all the problems with Serial Monitor. If it would be something that they use for "Compiling" window it would be easier to solve all these ansi escape sequences-related problems at once.

But that means serial monitor rewrite :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants