Fixed issue #37

merge-requests/3/head
bzt 2 years ago
parent 37682aad45
commit dd8dbd0a06

@ -781,7 +781,7 @@ int getchar_ifany (void)
{
efi_input_key_t key = { 0 };
efi_status_t status = ST->ConIn->ReadKeyStroke(ST->ConIn, &key);
return EFI_ERROR(status) ? -1 : key.UnicodeChar;
return EFI_ERROR(status) ? 0 : key.UnicodeChar;
}
int getchar (void)

Loading…
Cancel
Save