2009-12-27 Carles Pina i Estany <carles@pina.cat>
* normal/cmdline.c (grub_cmdline_get): Print a space after prompt. * normal/main.c (grub_normal_read_line): Remove a space from the default prompt.
This commit is contained in:
parent
714af9b9e4
commit
64fd18edbc
3 changed files with 10 additions and 4 deletions
|
@ -546,9 +546,9 @@ static grub_err_t
|
|||
grub_normal_read_line (char **line, int cont)
|
||||
{
|
||||
grub_parser_t parser = grub_parser_get_current ();
|
||||
char prompt[sizeof("> ") + grub_strlen (parser->name)];
|
||||
char prompt[sizeof(">") + grub_strlen (parser->name)];
|
||||
|
||||
grub_sprintf (prompt, "%s> ", parser->name);
|
||||
grub_sprintf (prompt, "%s>", parser->name);
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue