Handle ANSI color codes.

Closes #18