Bootloader: Interpret 0x7F (DEL) as backspace
This allows backspace to work over qemu's serial connection
This commit is contained in:
parent
b0ff2392a1
commit
50ca2ac09e
|
@ -26,6 +26,8 @@ read_user_command_line:
|
||||||
|
|
||||||
cmpb $'\b', %al
|
cmpb $'\b', %al
|
||||||
je .read_user_command_line_backspace
|
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
|
# Not sure if some BIOSes return '\n' as enter, but check it just in case
|
||||||
cmpb $'\r', %al
|
cmpb $'\r', %al
|
||||||
|
|
Loading…
Reference in New Issue