This commit is contained in:
2026-02-26 20:13:33 +00:00

View File

@@ -96,8 +96,8 @@ void kmain(BootInfo *Boot)
// Reset for next command // Reset for next command
len = 0; len = 0;
SAFE_PRINT(Boot, L"-> "); SAFE_PRINT(Boot, L"-> ");
} else if (Key.UnicodeChar == L'\b' || Key.UnicodeChar == 0x7F) { } else if (Key.ScanCode == 0x08 || Key.UnicodeChar == L'\b' || Key.UnicodeChar == 0x7F) {
// Backspace // Backspace (ScanCode 0x08 is backspace in UEFI)
if (len > 0) { if (len > 0) {
len--; len--;
SAFE_PRINT(Boot, L"\b \b"); SAFE_PRINT(Boot, L"\b \b");