JoaoLopesF / RemoteDebug

Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
MIT License
613 stars 127 forks source link

(Minor Issue) Serial output always starts with [0m #54

Open jeroenst opened 5 years ago

jeroenst commented 5 years ago

Describe the bug When serial output is enabled each line is started with [0m (shown on arduino serial monitor)

To Reproduce Steps to reproduce the behavior:

  1. Install Arduino
  2. Upload a sketch containing remote debug with serial output enabled
  3. Look in the serial monitor

Expected behavior A line on the serial monitor should not start with [0m

Screenshots If applicable, add screenshots to help explain your problem.

Arduino Information:

Additional context Add any other context about the problem here.

jeroenst commented 4 years ago

To solve this issue change line 1197 to

if (_showColors) _bufferPrint.concat(COLOR_RESET);

jeroenst commented 4 years ago

Accidentally closed..

jeroenst commented 4 years ago

Created pull request