def init_display(self): self.window.clear() self.showdetail() self.update() self.window.refresh() curses.doupdate()