def ShowError(self, error): self.window.addstr(self.position + 2, 60, ' -> ' + error, curses.color_pair(2)) self.window.refresh()