Flush keyboard buffer out of any keystrokes before waiting for user input
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 44s
Builds / ExectOS (i686) (push) Successful in 41s

This commit is contained in:
2024-05-01 12:29:05 +02:00
committed by CodingWorkshop Signing Team
parent 5a013e3ab5
commit 9625f1ad37

View File

@@ -106,6 +106,9 @@ BlDisplayBootMenu()
Events[0] = EfiSystemTable->ConIn->WaitForKey;
Events[1] = TimerEvent;
/* Flush keyboard buffer out of any keystrokes */
EfiSystemTable->ConIn->Reset(EfiSystemTable->ConIn, FALSE);
/* Infinite boot menu event loop */
while(TRUE)
{