diff --git a/SimplySerial/SimplySerial.cs b/SimplySerial/SimplySerial.cs index 6de55b3..55321cb 100644 --- a/SimplySerial/SimplySerial.cs +++ b/SimplySerial/SimplySerial.cs @@ -301,7 +301,7 @@ namespace SimplySerial try { // process keypresses for transmission through the serial port - if (Console.KeyAvailable) + while (Console.KeyAvailable) { // determine what key is pressed (including modifiers) keyInfo = Console.ReadKey(intercept: true);