PlatformIO Community

Monitor - Configure Colors for line with TAGs

Hello!

I work with platform IO monitor and I would like to configure colors for each line with special TAGs/REGEX just like that:
tag1=color1
tag2=color2
etc…

For example:
ERROR=red
INFO=green

and in monitor line with tag ERROR will in red color.

Best Regards!
dobraMorda

Just make your firmware output actual ANSI color codes for the terminal and activate --raw for miniterm to display them (docs)

  printf("\033[1;31m[E] Some error\n\033[0m;");
1 Like

Awesome. Thank you :slight_smile: