astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Astropy Core Package Utilities (`astropy.utils`) »
- terminal_size

# terminal_size

astropy.utils.console.terminal_size(file=None)

  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.