def hidden_cursor(self):
        ''' Context Manager that hides the cursor and restores it on exit.

            ::

                with screen.hidden_cursor():
                    print('Clandestine activity…')
        '''
        stream = self._stream
        stream.write(self.hide_cursor)
        stream.flush()
        try:
            yield self
        finally:
            stream.write(self.show_cursor)
            stream.flush()
def hidden_cursor ( self ) : stream = self . _stream stream . write ( self . hide_cursor ) stream . flush ( ) try : yield self finally : stream . write ( self . show_cursor ) stream . flush ( )
Context Manager that hides the cursor and restores it on exit.

            ::

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