Decode lines in process_command() method.
Add support for parsing ANSI colour escapes.

Closes GitHub issue #2.