1. Setting cursor position to (0, 0) and flushing cursor directly instead of calling GraphicConSoleConOutSetPosition().
2. Rename the internal function name EraseCursor() to FlushCursor() to remove the confusion on this function name. And add detailed function description for it. Signed-off-by: vanjeff Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11710 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -561,7 +561,12 @@ DrawUnicodeWeightAtCursorN (
|
||||
);
|
||||
|
||||
/**
|
||||
Erase the cursor on the screen.
|
||||
Flush the cursor on the screen.
|
||||
|
||||
If CursorVisible is FALSE, nothing to do and return directly.
|
||||
If CursorVisible is TRUE,
|
||||
i) If the cursor shows on screen, it will be erased.
|
||||
ii) If the cursor does not show on screen, it will be shown.
|
||||
|
||||
@param This Protocol instance pointer.
|
||||
|
||||
@@ -569,7 +574,7 @@ DrawUnicodeWeightAtCursorN (
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EraseCursor (
|
||||
FlushCursor (
|
||||
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user