How can I disable Esc character sequences in the VSCode OUTPUT window? I'm guessing these are being generated by whatever compiler IDF is using.
Alternatively, is there a recommended extension for VSCode that will handle these Esc character sequences?
Disable ESC sequences in VSCode Output Window
Re: Disable ESC sequences in VSCode Output Window
Thanks to @MicroContrroller, I have a solution for this.
If I build using the VSCode extenstion (using the cylinder icon at the bottom of VSCode), it uses the Terminal window instead. All escape characters are gone and the output is colorized instead. If I use the gear icon or click on Build.. that's when I get the horrible mess.
If I build using the VSCode extenstion (using the cylinder icon at the bottom of VSCode), it uses the Terminal window instead. All escape characters are gone and the output is colorized instead. If I use the gear icon or click on Build.. that's when I get the horrible mess.
Re: Disable ESC sequences in VSCode Output Window
To get rid of the escape characters, as you said, you could use a color enabled terminal.
If you can't use a color enabled terminal, then, I believe the setting CONFIG_LOG_COLORS in sdkconfig should not be set.
At least, that got rid of them for me.
If you can't use a color enabled terminal, then, I believe the setting CONFIG_LOG_COLORS in sdkconfig should not be set.
At least, that got rid of them for me.
Last edited by micron on Mon Jan 08, 2024 12:51 am, edited 1 time in total.
Re: Disable ESC sequences in VSCode Output Window
Thanks for that - I'm still see-sawing between using the VSCode extension and the command line.. so I'll make a note of that just in case
Who is online
Users browsing this forum: top_secret_guy and 85 guests