Pause before returning to menu editor

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-03 23:14:23 +02:00
parent e2d15128a5
commit bcfd0cf0fa

View file

@ -1370,8 +1370,13 @@ grub_menu_entry_run (grub_menu_entry_t entry)
goto refresh; goto refresh;
case 24: /* C-x */ case 24: /* C-x */
if (! run (screen)) {
goto fail; int chars_before = grub_normal_get_char_counter ();
run (screen);
if (chars_before != grub_normal_get_char_counter ())
grub_wait_after_message ();
}
goto refresh; goto refresh;
case 18: /* C-r */ case 18: /* C-r */