code: def get_term_size():
          '''Gets the size of your terminal. May not work everywhere. YMMV.'''
          rows, columns = os.popen('stty size', 'r').read().split()
          return int(rows), int(columnsf get_term_size():
          '''Gets the size of your terminal. May not work everywhere. YMMV.'''
          rows, columns = os.popen('stty size', 'r').read().split()
          return int(rows), int(columns)
docs: Gets the size of your terminal. May not work everywhere. YMMV.