symfony/symfony — pull request #4594 by jcowgill (2012-06-16 10:31:47+00:00)
Title: [Console] Use 'mode' command to detect terminal size on Windows

This PR uses the windows 'mode' command to get the terminal height and width on windows.

I've left in the ANSICON stuff but I'm not sure if that's needed after this.