(self, queues, mode)
Initialise the cursor.
Initialise the cursor.
Initialise the cursor .
def __init__(self, queues, mode):
        """Initialise the cursor."""
        self._queues = queues
        self._mode = mode
        self._colourmap = None
        # are we in parse mode? invisible unless override_visible is True
        self._default_visible = True
        # cursor visible in parse mode? user override
        self._override_visible = False
        # actually visible at present
        # set to None to force a signal when first set to True or False
        self._visible = None
        # visibility override flags
        self._active = True
        self._direct = False
        self._override = False
        self._textmode_override = False
        # cursor shape
        self._from_line = 0
        self._to_line = 0
        self._width = self._mode.font_width
        self._height = self._mode.font_height
        self._fore_attr = None
        self._row, self._col = 1, 1
def __init__ ( self , queues , mode ) : self . _queues = queues self . _mode = mode self . _colourmap = None # are we in parse mode? invisible unless override_visible is True self . _default_visible = True # cursor visible in parse mode? user override self . _override_visible = False # actually visible at present # set to None to force a signal when first set to True or False self . _visible = None # visibility override flags self . _active = True self . _direct = False self . _override = False self . _textmode_override = False # cursor shape self . _from_line = 0 self . _to_line = 0 self . _width = self . _mode . font_width self . _height = self . _mode . font_height self . _fore_attr = None self . _row , self . _col = 1 , 1