Hack to allow ansi colors in prompt.

This is a pretty quick and dirty fix so that when lengths are compared
between the prompt and the buffer any ansi color sequences are NOT
counted in the prompt's length (which in turn causes the text placement
to get messed up).