Exemplo n.º 1
0
 /// <summary>
 /// Reads data from the input buffer until a break key(s) is found.
 /// </summary>
 /// <returns></returns>
 public ReadRef Read()
 {
     return(InputLoop.ReadInput(
                new ReadOptions()
     {
         BackgroundColor = BackgroundColor,
         ForegroundColor = ForegroundColor
     }));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Reads a single key from the input buffer until a break key(s) is found.
 /// </summary>
 /// <returns></returns>
 public ReadRef ReadKey()
 {
     return(InputLoop.ReadInput(
                new ReadOptions()
     {
         BackgroundColor = BackgroundColor,
         ForegroundColor = ForegroundColor,
         ReadLength = 1
     }));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Reads data from the input buffer until a break key(s) is found.
 /// </summary>
 /// <returns></returns>
 public ReadRef Read(ReadOptions options)
 {
     return(InputLoop.ReadInput(options));
 }