def get_cols_rows(self):
    if (self._term_size is not None):
        return self._term_size
    else:
        return (80, 24)
def get_cols_rows(self):
    if (self._term_size is not None):
        return self._term_size
    else:
        return (80, 24)