mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
Don't output unnecessary newline in command line prompt
This commit is contained in:
1 parent
4b4513adb3
commit
686ff5b4d1
1 file changed
+6
-1
+6
-1
@@ -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);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user