On Mon, 21 Jun 2021 16:35:31 +0100
Ray Kinsella wrote:
> +def get_terminal_rows():
> +'''Find the number of rows in the terminal'''
> +
> +rows, _ = os.popen('stty size', 'r').read().split()
> +return int(rows)
> +
Use standard Python function os.get_terminal_size or shutil.get_termi
Script to track growth of stable and experimental symbols
over releases since v19.11.
Signed-off-by: Ray Kinsella
---
v2: reworked to fix pylint errors
v3: sent with the correct in-reply-to
v4: fix typos picked up by the CI
devtools/count_symbols.py | 262 ++
2 matches
Mail list logo