(self)
Rebuild the cursor on resume.
Rebuild the cursor on resume.
Rebuild the cursor on resume .
def rebuild(self):
        """Rebuild the cursor on resume."""
        self._queues.video.put(signals.Event(
            signals.VIDEO_SET_CURSOR_SHAPE, (self._from_line, self._to_line)
        ))
        self._queues.video.put(signals.Event(
            signals.VIDEO_MOVE_CURSOR, (self._row, self._col, self._fore_attr, self._width)
        ))
        # set visibility and blink state
        # cursor blinks if and only if in text mode
        self._queues.video.put(signals.Event(
            signals.VIDEO_SHOW_CURSOR, (self._visible, self._mode.is_text_mode)
        ))
def rebuild ( self ) : self . _queues . video . put ( signals . Event ( signals . VIDEO_SET_CURSOR_SHAPE , ( self . _from_line , self . _to_line ) ) ) self . _queues . video . put ( signals . Event ( signals . VIDEO_MOVE_CURSOR , ( self . _row , self . _col , self . _fore_attr , self . _width ) ) ) # set visibility and blink state # cursor blinks if and only if in text mode self . _queues . video . put ( signals . Event ( signals . VIDEO_SHOW_CURSOR , ( self . _visible , self . _mode . is_text_mode ) ) )