コード例 #1
0
ファイル: Curses.cs プロジェクト: jTitor/CursesSharp
 /// <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));
 }