Did cmd.exe[1] hard-wrap some text you were trying to share? Paste the input text to unwrap:

Output: Detected console width: ?


Because there's no reliable way to detect whether a full-width line was actually broken up, you should always inspect the output.


If you don't have any text, try this sample text:

>>> from twisted.internet.defer import Deferred
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 24, in <m
odule>
    from twisted.python import log, failure, lockfile
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 17, in <modul
e>
    from zope.interface import Interface
ImportError: No module named zope.interface
>>>

[1] Yes, the program responsible is actually conhost.exe; cmd.exe is just the shell.