mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
When QEMU is launched with -nographic, the Backspace key (DEL, 0x7f) doesn't work in the UEFI Shell because the VT-UTF8 terminal type interprets DEL as SCAN_DELETE instead of CHAR_BACKSPACE. Modern terminal emulators (xterm, gnome-terminal, etc.) send DEL (0x7f) for Backspace and are UTF-8 compatible. This patch updates TerminalTypeVtUtf8 to interpret DEL as CHAR_BACKSPACE, consistent with how TerminalTypeTtyTerm already handles it. This approach preserves VT-UTF8 as the default terminal type (which supports full Unicode), while fixing the Backspace functionality for modern terminal environments. Signed-off-by: Damien Chen <inkfan130924783@gmail.com> |
||
|---|---|---|
| .. | ||
| ConPlatformDxe | ||
| ConSplitterDxe | ||
| GraphicsConsoleDxe | ||
| GraphicsOutputDxe | ||
| TerminalDxe | ||