Remove unnecessary console input buffer reset
This commit is contained in:
parent
2ee33ab229
commit
ba65264d1e
@ -785,7 +785,6 @@ BlDisplayInputDialog(IN PWCHAR Caption,
|
|||||||
/* Wait for key press and read key stroke */
|
/* Wait for key press and read key stroke */
|
||||||
BlWaitForEfiEvent(1, &EfiSystemTable->ConIn->WaitForKey, &Index);
|
BlWaitForEfiEvent(1, &EfiSystemTable->ConIn->WaitForKey, &Index);
|
||||||
BlReadKeyStroke(&Key);
|
BlReadKeyStroke(&Key);
|
||||||
BlResetConsoleInputBuffer();
|
|
||||||
|
|
||||||
/* Check key press scan code */
|
/* Check key press scan code */
|
||||||
if(Key.ScanCode == 0x17)
|
if(Key.ScanCode == 0x17)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user