コード例 #1
0
 internal static void WaitForAnyKeyButEnter(this IReadWrite io, string prompt)
 {
     io.Write($"Hit any key but Enter {prompt} ");
     while (io.ReadCharacter() == '\r')
     {
         ;
     }
 }