def __init__(self, parent): self._parent = parent self.width = shutil.get_terminal_size((80, 20)).columns - 5