Get terminal size for any python 3.*