Improve colour code handling in console mode
Merge pull request #4 from mbst/zb-colour-fix

Improve colour code handling in console mode