diff --git a/SimplySerial/SimplySerial.cs b/SimplySerial/SimplySerial.cs index 51ebc45..abbbf11 100644 --- a/SimplySerial/SimplySerial.cs +++ b/SimplySerial/SimplySerial.cs @@ -297,7 +297,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);