diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-05 08:18:00 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 14:59:44 +0200 |
commit | e67ff94deda15f344af62b46ef21b3bb10d1c0f1 (patch) | |
tree | de0aad293a613367cc51ac3f170bc3af63c333ca /lib/efi_loader/efi_console.c | |
parent | 4f187897703ab38b12bb9b5a733028aa0083a618 (diff) |
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>
Diffstat (limited to 'lib/efi_loader/efi_console.c')
-rw-r--r-- | lib/efi_loader/efi_console.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index 1d52753456..3fd0d2fd51 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -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); } |