Fix Control (Color) Characters in Emacs Compilation buffer
For a while I had the issue that ANSI
escape codes for compilation buffer don't show correctly in
Emacs. I would get characters like unscaped carriage-return
^M
or ^[
in the compilation buffer, something
like the following:

Today I found that one could fix this issue by adding the
following to init.el
file:
'compilation-filter-hook 'ansi-color-compilation-filter) (add-hook
After doing this, the compilation buffer looks like this

The theme in screenshots is ef-trio-dark
from ef-themes
package, the font is Iosevka
Comfy and my full configuration can be found in my dotemacs
repository.