Erase backspaced character in grub_username_get

It probably does not work across linefeed, but hopefully user names are not
that long (and nobody is using terminal that small).
This commit is contained in:
Andrei Borzenkov 2015-12-16 19:20:10 +03:00
parent 451d80e52d
commit 7136b545c1
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ grub_username_get (char buf[], unsigned buf_size)
if (cur_len)
{
cur_len--;
grub_printf ("\b");
grub_printf ("\b \b");
}
continue;
}