IDE missing new line and text color reset

If an error occurs in compiling, the last line of the error should have a new line / carriage return and reset color to standard foreground.

I did not capture the original image, and uninstalling/reinstalling a library clears the output window, so I can not duplicate the exact issue... so here it is in text...

All text after the error-color (red for me) "exit status 1" is still red, and the line continues after the "1", but "Installed" should be on a new line, and the color should be the default (white for me).

image

Compilation error: exit status 1Installed Time@1.6.1 // <- where "1" meets "Installed"
Downloading U8g2@2.36.17
U8g2@2.36.17
Installing U8g2@2.36.17
Replacing U8g2@2.35.30 with U8g2@2.36.17
Installed U8g2@2.36.17

If I install/upgrade/downgrade a library the output window is cleared at the beginning of the process.

So I never see what you see :wink: Are you running multiple instances of the IDE?

IDE 2.3.8, Windows 11.

PS
The last line usually contains the error, not "exit status 1". E.g.

exit status 1

Compilation error: variable or field 'setup' declared void

Yes. The "perfect storm" was as I compiled a sketch, a library was installing. The compile terminated, then the library install finished.

If the output window is told to display in red due to a compile error and something else writes to it (your library install in this case) will indeed happen.

I always patiently wait for a process to finish :slight_smile:

The IDE can multitask... or, at least queue sequentially.

The issue is "housekeeping" of finishing "sentences" with <CRLF> and returning foreground color to "normal." Like a CNC changing bits. Every pass starts at home.