defer outputting a colour sequence

If we dont alter the output string until we have a valid escape sequence
then we dont accidentally forget the current acting colour when bad
sequences are found
1 job for master in 8 minutes and 11 seconds (queued for 9 seconds)