Enable the follow feature for string op-code:
1. Show old string before enter new. 2. Enable cursor moves left or right and insert new char or remove the char before the cursor. Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12231 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -740,6 +740,7 @@ ProcessOptions (
|
||||
if (Selected) {
|
||||
StringPtr = AllocateZeroPool ((Maximum + 1) * sizeof (CHAR16));
|
||||
ASSERT (StringPtr);
|
||||
CopyMem(StringPtr, Question->BufferValue, Maximum * sizeof (CHAR16));
|
||||
|
||||
Status = ReadString (MenuOption, gPromptForData, StringPtr);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
|
Reference in New Issue
Block a user