(self)
Normal exit procedure.
Normal exit procedure.
Normal exit procedure .
def exit(self):
        """Normal exit procedure.

        """
        curses.flushinp()
        try:
            curses.curs_set(0)
        except:  # If invisible cursor not supported
            pass
        curses.noecho()
        if self.text == -1:
            return -1
        elif self.text is False:
            return False
        else:
            return "\n".join(self.text)
def exit ( self ) : curses . flushinp ( ) try : curses . curs_set ( 0 ) except : # If invisible cursor not supported pass curses . noecho ( ) if self . text == - 1 : return - 1 elif self . text is False : return False else : return "\n" . join ( self . text )