(self)
Clear screen and exit
Clear screen and exit
Clear screen and exit
def destroy(self):
        """
        Clear screen and exit
        """
        self.screen.erase()
        self.refresh()
        curses.endwin()
def destroy ( self ) : self . screen . erase ( ) self . refresh ( ) curses . endwin ( )