nkozlovskiy 6295ef4d23 oss ydb: fix dstool building and test run 1 год назад
..
.dist-info 6295ef4d23 oss ydb: fix dstool building and test run 1 год назад
backports 6295ef4d23 oss ydb: fix dstool building and test run 1 год назад
LICENSE 6295ef4d23 oss ydb: fix dstool building and test run 1 год назад
README.rst 6295ef4d23 oss ydb: fix dstool building and test run 1 год назад
ya.make 6295ef4d23 oss ydb: fix dstool building and test run 1 год назад

README.rst

backports.shutil_get_terminal_size
==================================

A backport of the `get_terminal_size`_ function from Python 3.3's shutil.

Unlike the original version it is written in pure Python rather than C,
so it might be a tiny bit slower.

.. _get_terminal_size: https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size


Example usage
-------------

>>> from backports.shutil_get_terminal_size import get_terminal_size
>>> get_terminal_size()
terminal_size(columns=105, lines=33)