arduino-ide
arduino-ide copied to clipboard
#1991: add support for 'clear screen' and 'move to home'
Motivation
Implement feature requested in Issue #1991
Change description
A complete rewrite of messagesToLines from monitor-utils.ts
Other information
Docs have not been updated as there are no docs related to the Serial Monitor
Reviewer checklist
- [x] PR addresses a single concern.
- [x] The PR has no duplicates (please search among the Pull Requests before creating one)
- [x] PR title and description are properly filled.
- [ ] Docs have been added / updated (for bug fixes / features)
Hi @wodzuu, thanks for the contribution. What IDE2 needs, in the long run, is a pseudoterminal: https://github.com/arduino/arduino-ide/issues/1473#issuecomment-1253371850.
Hi @kittaakos. Yes, that would be perfect. However this seems to be a much bigger task than just adding support for those two escape sequences. And I think they already make a significant difference (for me at least :P )
Hi @kittaakos. As there a lot of whises for Serial, wouldn't it be easier to use an external monitor as YAT, it provide mutch of the fuctionallity that users ask for. For OTA devices it is easy, as they can upload with Serial connected. For other bords we need a way to disable the external Serial monitor while uploading. Just a thought.....
wouldn't it be easier to use an external monitor as YAT,
For OTA devices it is easy, as they can upload with Serial connected. For other bords we need a way to disable the external Serial monitor while uploading. Just a thought.....
No, I do not think so.
IDE2 never talks with the board directly on serial or other ways. The Arduino CLI knows how to talk to the board and acts as a middleman between the device and the IDE. It wouldn't be easier to integrate an external tool with IDE2, especially since YAT is for Windows only, as I see, and we want to make the features available to all users.
Furthermore, it seems to be possible without any external tools (https://github.com/arduino/arduino-ide/issues/1473#issuecomment-1253371850):
use a
Pseudoterminalfrom VS Code.
https://github.com/arduino/arduino-ide/assets/1405703/5a236a1c-5c93-4152-9434-ebbc9c06f886
I have another ongoing implementation, which uses the monaco editor. See https://github.com/arduino/arduino-ide/issues/105.
Please bear with us; do not think we do not hear your voice.