Handle colors in message text.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>