#NEWLINE# def top( self , args ) : #NEWLINE# #INDENT# screen = Screen ( endpoint = args . endpoint , key = self . key ) #NEWLINE# try : #NEWLINE# #INDENT# screen . run ( ) #NEWLINE# #UNINDENT# except RuntimeError as e : #NEWLINE# #INDENT# screen . _reset ( ) #NEWLINE# print ( e ) #NEWLINE# sys . exit ( 1 ) #NEWLINE# #UNINDENT# except ( KeyboardInterrupt , SystemExit ) : #NEWLINE# #INDENT# screen . w . running = False #NEWLINE# screen . _reset ( ) #NEWLINE# print ( 'Exiting...' ) #NEWLINE# sys . exit ( 0 )