ShellPkg: hide flashing cursor during startup.

signed-off-by: jaben carsey <jaben.carsey@intel.com>
reviewed-by: erik bjorge <erik.c.bjorge@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13207 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey 2012-04-23 18:00:41 +00:00
parent 5513af68ed
commit 5559a41aad
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/** @file
This is THE shell (application)
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@ -827,6 +827,7 @@ DoStartupScript(
return (EFI_SUCCESS);
}
gST->ConOut->EnableCursor(gST->ConOut, FALSE);
//
// print out our warning and see if they press a key
//
@ -841,6 +842,7 @@ DoStartupScript(
}
}
ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_SHELL_CRLF), ShellInfoObject.HiiHandle);
gST->ConOut->EnableCursor(gST->ConOut, TRUE);
//
// ESC was pressed