def __init__(self): if self.kbase.has("colour"): self.colour = self.kbase.get("colour") else: self.colour = False self.sizex, sizey = getTerminalSize() self.written_x = 0 self.OS = os.name