code: def _draw_cursor(self, char, frame_no, x, y):
          
          (colour, attr, bg) = self._pick_colours("edit_text")
          if frame_no % 10 < 5 or self._frame.reduce_cpu:
              attr |= Screen.A_REVERSE
          self._frame.canvas.print_at(char, x, y, colour, attr, bg)
docs: Draw a flashing cursor for this widget.
  
          :param char: The character to use for the cursor (when not a block)
          :param frame_no: The current frame number.
          :param x: The x coordinate for the cursor.
          :param y: The y coordinate for the cursor.