Fix few pager bugs

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-23 18:06:49 +01:00
parent 3c69fb81e1
commit 5c56cac95f
3 changed files with 25 additions and 16 deletions

View file

@ -362,6 +362,7 @@ grub_cmdline_get (const char *prompt)
grub_putcode ('\n', term);
}
grub_printf ("%s ", prompt_translated);
grub_normal_reset_more ();
{
struct cmdline_term *cl_term_cur;
@ -440,6 +441,8 @@ grub_cmdline_get (const char *prompt)
print_completion);
grub_free (bufu8);
grub_normal_reset_more ();
if (restore)
{
/* Restore the prompt. */