/// <summary> /// Checks if the terminal recognizes a key. /// </summary> /// <param name="key">Value of the key to check.</param> /// <returns>true if the key is recognized; false, otherwise.</returns> public static bool HasKey(int key) { return(CursesMethods.has_key(key)); }