Fix: support color escape characters on different terminals

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>