@contextmanager<EOL><INDENT>def hidden_cursor(self):<DEDENT>
stream = self._stream<EOL>stream.write(self.hide_cursor)<EOL>stream.flush()<EOL>try:<EOL><INDENT>yield self<EOL><DEDENT>finally:<EOL><INDENT>stream.write(self.show_cursor)<EOL>stream.flush()<EOL><DEDENT>
Context Manager that hides the cursor and restores it on exit.

            ::

                with screen.hidden_cursor():
                    print('Clandestine activity…')