mirror of
http://cgit.git.savannah.gnu.org/git/grub.git
synced 2026-04-28 06:33:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user