mirror of
https://github.com/fasteddy516/SimplySerial.git
synced 2024-11-24 10:04:35 +00:00
write everything at once
This commit is contained in:
parent
54ced10eaf
commit
7354552206
@ -297,7 +297,7 @@ namespace SimplySerial
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// process keypresses for transmission through the serial port
|
// process keypresses for transmission through the serial port
|
||||||
if (Console.KeyAvailable)
|
while (Console.KeyAvailable)
|
||||||
{
|
{
|
||||||
// determine what key is pressed (including modifiers)
|
// determine what key is pressed (including modifiers)
|
||||||
keyInfo = Console.ReadKey(intercept: true);
|
keyInfo = Console.ReadKey(intercept: true);
|
||||||
|
Loading…
Reference in New Issue
Block a user