ID EN
OS

terminal_size

Python 3.11

A subclass of tuple, holding (columns, lines) of the terminal window size.

Syntax

PYTHON
class os.terminal_size