@classmethod
def getxy(cls):
    """
        Get the x and y position of the cursor.

        :return: (x, y)
        """
    y, x = cls.WINDOW.getyx()
    if cls.BORDERED:
        x -= 1
        y -= 1
    if cls.MENU:
        y -= 1
    return x, y
