Use shutil.get_terminal_size if available