External Tools Plugin- get rid of control characters

Post Reply
Layerprogg
Posts: 10
Joined: 15.04.2015 15:37

External Tools Plugin- get rid of control characters

Post by Layerprogg »

Hi, i use the External Tools Plugin for compiling Arduino source code.
It works, but control characters are displayed in the output window.
I tried different encodings (UTF8 in the screenshot) but couldn't get rid off these annoying control characters.
What can i do?
best regards, Jost
Attachments
24-05-02_09.08.24.png
24-05-02_09.08.24.png (3.46 KiB) Viewed 2104 times
Layerprogg
Posts: 10
Joined: 15.04.2015 15:37

Re: External Tools Plugin- get rid of control characters

Post by Layerprogg »

Hi,
i found it by myself, these are codes for coloured output.
Not a problem that can be solved by the External Tool Plugin
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: External Tools Plugin- get rid of control characters

Post by main Alexey »

Escape-sequences. 0x1B is the code of Escape-char.
I guess your IDE must have the option to disable Esc-sequences in the output.
Layerprogg
Posts: 10
Joined: 15.04.2015 15:37

Re: External Tools Plugin- get rid of control characters

Post by Layerprogg »

I found it. There is a compile switch --no-color in the arduino-cli command which disables the colored output.
Thank you Alexey
Post Reply