mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
efi_loader: clear screen has to reset cursor position
After clearing the screen the cursor position is row 0, column 0. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
4f18789770
commit
e67ff94ded
1 changed files with 2 additions and 0 deletions
|
@ -335,6 +335,8 @@ static efi_status_t EFIAPI efi_cout_clear_screen(
|
|||
EFI_ENTRY("%p", this);
|
||||
|
||||
printf(ESC"[2J");
|
||||
efi_con_mode.cursor_column = 0;
|
||||
efi_con_mode.cursor_row = 0;
|
||||
|
||||
return EFI_EXIT(EFI_SUCCESS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue