Message223298
The latest patch, using _shutil.get_terminal_size(), looks fine. It lets environ['COLUMNS'] have priority over the end user's terminal width, as demonstrated by the change to test_argparse. test_argparse doesn't test changing the actual terminal size, but I imagine that would be a pain to implement. | |
| Date | User | Action | Args | | 2014-07-16 23:30:18 | paul.j3 | set | recipients: + paul.j3, bethard, zbysz, denilsonsa, flox, BreamoreBoy, berker.peksag | | 2014-07-16 23:30:18 | paul.j3 | set | messageid: <1405553418.24.0.0648998860604.issue13041@psf.upfronthosting.co.za> | | 2014-07-16 23:30:18 | paul.j3 | link | issue13041 messages | | 2014-07-16 23:30:17 | paul.j3 | create | | |