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:
parent
451d80e52d
commit
7136b545c1
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ grub_username_get (char buf[], unsigned buf_size)
|
||||||
if (cur_len)
|
if (cur_len)
|
||||||
{
|
{
|
||||||
cur_len--;
|
cur_len--;
|
||||||
grub_printf ("\b");
|
grub_printf ("\b \b");
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue