

def getcharatpixel(self, pixelx, pixely):
    'Returns the character in the cell located at the pixel coordinates pixelx, pixely.'
    (x, y) = self.getcoordinatesatpixel(pixelx, pixely)
    if ((x, y) == (None, None)):
        return (None, None)
    return self._screenchar[x][y]

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