From: Oscar Li <oscar.li@intel.com>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4550
Ignore TAB when handling input characters for string input to be consistent with the usual behavior.
Signed-off-by: Oscar Li <oscar.li@intel.com>
Cc: Dakota Chiang <dakota.chiang@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
---
MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
index f70feeb55f..44e774ce24 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
@@ -226,6 +226,9 @@ ReadString (
return EFI_DEVICE_ERROR;
}
+ case CHAR_TAB:
+ break;
+
case CHAR_BACKSPACE:
if ((StringPtr[0] != CHAR_NULL) && (CurrentCursor != 0)) {
for (Index = 0; Index < CurrentCursor - 1; Index++) {
--
2.41.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108797): https://edk2.groups.io/g/devel/message/108797
Mute This Topic: https://groups.io/mt/101435625/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-