visionmedia/mocha — pull request #167 by TooTallNate (2011-12-20 08:03:32+00:00)
Title: No carriage returns in the built-in reporters (for Windows)

So apparently the `\r` trick doesn't work on Windows. Go figure. So replacing all instances of `\r` with _real_ ANSI codes will make libuv do it's cross-platform thing and work correctly.

Before:
![](http://f.cl.ly/items/2m3e27062B3W121a3a3e/Screen%20Shot%202011-12-19%20at%2011.27.43%20PM.png)

After:
![](http://f.cl.ly/items/391M2M3G380e252G3B1F/Screen%20Shot%202011-12-19%20at%2011.42.43%20PM.png)