]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLib/UefiShellLib.c
ShellPkg: Allow for format character strings to be typed in editor without having...
[mirror_edk2.git] / ShellPkg / Library / UefiShellLib / UefiShellLib.c
index aabd9140df132f98657550273085438fa0e11256..85a5d44f081495b553c64206f7fd31ab65d9948b 100644 (file)
@@ -2720,6 +2720,11 @@ InternalShellPrintWorker(
     //\r
     if (ResumeLocation != NULL) {\r
       if (*(ResumeLocation-1) == L'^') {\r
+        //\r
+        // Move cursor back 1 position to overwrite the ^\r
+        //\r
+        gST->ConOut->SetCursorPosition(gST->ConOut, gST->ConOut->Mode->CursorColumn - 1, gST->ConOut->Mode->CursorRow);\r
+\r
         //\r
         // Print a simple '%' symbol\r
         //\r