astropy/astropy — pull request #2427 by amras1 (2014-05-03 14:17:58+00:00)
Title: Moved terminal size info to a separation function

This addresses #2378. It would be nice to be able to handle possible exceptions and look for an alternative way to find terminal size, but as of now the alternative varies (pprint uses ``conf``, ``ProgressBar`` uses ``os.environ.get('COLUMNS')``, etc.) Is this correct, or should there be a uniform alternative way to find terminal size?