◐ Shell
clean mode source ↗

Message 263749 - Python tracker

> On all supported platforms (including such exotic as old AIX, QNX or Minix) it should be defined.

test_shutil always call shutil.get_terminal_size() and I didn't see any failure on the unit suite on our buildbots, even less common platforms like OpenBSD, AIX, OpenIndiana, etc.

So yes, os.get_terminal_size() looks to be available on all supported platforms.