Don't output unnecessary newline in command line prompt
This commit is contained in:
parent
4b4513adb3
commit
686ff5b4d1
1 changed files with 6 additions and 1 deletions
|
@ -356,8 +356,13 @@ grub_cmdline_get (const char *prompt)
|
||||||
lpos = llen = 0;
|
lpos = llen = 0;
|
||||||
buf[0] = '\0';
|
buf[0] = '\0';
|
||||||
|
|
||||||
grub_putchar ('\n');
|
{
|
||||||
|
grub_term_output_t term;
|
||||||
|
|
||||||
|
FOR_ACTIVE_TERM_OUTPUTS(term)
|
||||||
|
if ((grub_term_getxy (term) >> 8) != 0)
|
||||||
|
grub_putcode ('\n', term);
|
||||||
|
}
|
||||||
grub_printf ("%s", prompt_translated);
|
grub_printf ("%s", prompt_translated);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue