Make serial monitor less jerky and reduce latency
Hi,
I just recently migrated from Arduino IDE to using CLion. I'm using the plugin with CLion 2019.3.3 under Windows 10. The serial monitor seems a little bit jerky and seems to add some noticable latency.
In am currently working on a light barrier and am sending a message via serial console whenever the light barrier trips. I see the message almost instantly when using the serial monitor integrated in the Arduino IDE. With the CLion plugin I see a delay of approx. 200ms. Took me a while to figure out that nothing is wrong with my code because I was used to the responsiveness of the serial monitor from the Arduino IDE.
Also, when sending messages in quick succession, the serial monitor seems to be displaying them "in batches". It looks a little bit "jerky". The time between actually sending two lines from the Arduino is always the same.

For comparison: this is the same output when viewed in Arduino IDE Serial Monitor:
