Better ANSI support

There were a couple Github issues with this exact problem and most of them were closed after 90 days. One user in particular (back in 2012) said that cursor positioning would be difficult. Travis-CI has come a long way! I doubt those issues still hold true today.

My issue is that I’ve rolled a small module that allows performance stats to be appended to the last line of a Mocha test. This works fine locally with several tools. Wallaby, Terminal, etc. Travis-CI seems to be doing something odd however. I use several ANSI codes to accomplish my goals and I’m not sure which one is to blame.

ANSI Codes:

\033[K
\033[A
\u001b[0m
\u001b[31m
\u001b[32m

And this is what Travis-CI does:
Travis-CI

Sorry, but our logs are still streams and it would still be very hard to accommodate cursor-positioning ANSI Escape sequences.