From 50ca2ac09ec40927efa792d63e7c2020aa858990 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 3 Jan 2024 11:58:50 +0200 Subject: [PATCH] Bootloader: Interpret 0x7F (DEL) as backspace This allows backspace to work over qemu's serial connection --- bootloader/bios/command_line.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootloader/bios/command_line.S b/bootloader/bios/command_line.S index ed021098ea..ba442e9aae 100644 --- a/bootloader/bios/command_line.S +++ b/bootloader/bios/command_line.S @@ -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