Apply ansi color only on newly added region of the buffer.
Merge branch 'compilation-filter-hook-optimization'