astropy.utils
Returns a tuple (height, width) containing the height and width of the terminal.
This function will look for the width in height in multiple areas before falling back on the width and height in astropy’s configuration.