def _at_exit(self):
if self.process_exit:<EOL><INDENT>try:<EOL><INDENT>term = self.term<EOL>if self.set_scroll:<EOL><INDENT>term.reset()<EOL><DEDENT>else:<EOL><INDENT>term.move_to(<NUM_LIT:0>, term.height)<EOL><DEDENT>self.term.feed()<EOL><DEDENT>except ValueError:  <EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Resets terminal to normal configuration