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).
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 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.
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.