ShellPkg: Allow for format character strings to be typed in editor without having effect on editor screen.

signed-off-by: jcarsey
reviewed-by: leegrosenbaum

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12965 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey
2012-01-30 18:44:41 +00:00
parent 479f85bb72
commit 8bb7441edd
2 changed files with 9 additions and 2 deletions

View File

@ -2720,6 +2720,11 @@ InternalShellPrintWorker(
//
if (ResumeLocation != NULL) {
if (*(ResumeLocation-1) == L'^') {
//
// Move cursor back 1 position to overwrite the ^
//
gST->ConOut->SetCursorPosition(gST->ConOut, gST->ConOut->Mode->CursorColumn - 1, gST->ConOut->Mode->CursorRow);
//
// Print a simple '%' symbol
//