fix ANSI colors in compilation buffer