Bootloader: Interpret 0x7F (DEL) as backspace

This allows backspace to work over qemu's serial connection
This commit is contained in:
Bananymous 2024-01-03 11:58:50 +02:00
parent b0ff2392a1
commit 50ca2ac09e
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ read_user_command_line:
cmpb $'\b', %al
je .read_user_command_line_backspace
cmpb $0x7F, %al
je .read_user_command_line_backspace
# Not sure if some BIOSes return '\n' as enter, but check it just in case
cmpb $'\r', %al