def getKey():
        k = __getKey()
        if k == 27:
            k = __getKey()
            if k == 91:
                k = __getKey()

        return __key_aliases.get(k, k)

# legacy support
same as __getKey, but handle arrow keys
dataset/ETHPy150Open bfontaine/term2048/term2048/keypress.py/getKey