[issue13041] argparse: terminal width is not detected properly

paul j3 report at bugs.python.org
Thu Jul 24 07:24:13 CEST 2014


paul j3 added the comment:

For now the user could add this to his module:

    import os, shutil
    os.environ['COLUMNS'] = str(shutil.get_terminal_size().columns)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13041>
_______________________________________


More information about the Python-bugs-list mailing list