

def _propsetinputcursor(self, value):
    x = int(value[0])
    y = int(value[1])
    if (not self.isonscreen(x, y)):
        return
    if ((x != self._inputcursorx) or (y != self._inputcursory)):
        self._repaintcell(self._inputcursorx, self._inputcursory)
    self._inputcursorx = x
    self._inputcursory = y

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface._propsetinputcursor/original