Beispiel #1
0
 /// <summary>
 /// Sets half-delay mode.
 /// </summary>
 /// <remarks>
 /// This mode is similar to cbreak mode in that characters typed
 /// by the user are immediately available to the program.
 /// However, after blocking for <paramref name="tenths"/>
 /// tenths of seconds, -1 is returned if nothing has been typed.
 /// <para>
 /// The value of <paramref name="tenths"/> must be between
 /// 1 and 255.
 /// </para>
 /// <para>
 /// The terminal is placed out of half-delay mode by entering normal
 /// (cooked) mode, i.e. setting <see cref="CBreakMode"/> to false.
 /// </para>
 /// </remarks>
 /// <param name="tenths"></param>
 public static void HalfDelayMode(int tenths)
 {
     CursesMethods.halfdelay(tenths);
 }