@contextmanager<EOL><INDENT>def fullscreen(self):<DEDENT>
stream = self._stream<EOL>stream.write(self.alt_screen_enable)<EOL>stream.write(str(self.save_title(<NUM_LIT:0>)))     <EOL>stream.flush()<EOL>try:<EOL><INDENT>yield self<EOL><DEDENT>finally:<EOL><INDENT>stream.write(self.alt_screen_disable)<EOL>stream.write(str(self.restore_title(<NUM_LIT:0>)))  <EOL>stream.flush()<EOL><DEDENT>
Context Manager that enters full-screen mode and restores normal
            mode on exit.

            ::

                with screen.fullscreen():
                    print('Hello, world!')