mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 23:59:22 +00:00
normal/menu: Add Ctrl-L to refresh the menu
This is useful on cloud instances with remote serial ports as it can be difficult to connect "fast enough" to get the initial menu display Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
55e6eeab37
commit
1df05ac832
2 files changed
+7
No files matched your search
@@ -3222,6 +3222,9 @@ If you protect the menu interface with a password (@pxref{Security}),
|
|||||||
all you can do is choose an entry by pressing @key{RET}, or press
|
all you can do is choose an entry by pressing @key{RET}, or press
|
||||||
@key{p} to enter the password.
|
@key{p} to enter the password.
|
||||||
|
|
||||||
|
Pressing @key{Ctrl-l} will refresh the menu, which can be useful when
|
||||||
|
connecting via serial after the menu has been drawn.
|
||||||
|
|
||||||
|
|
||||||
@node Menu entry editor
|
@node Menu entry editor
|
||||||
@section Editing a menu entry
|
@section Editing a menu entry
|
||||||
|
|||||||
@@ -788,6 +788,10 @@ run_menu (grub_menu_t menu, int nested, int *auto_boot, int *notify_boot)
|
|||||||
}
|
}
|
||||||
goto refresh;
|
goto refresh;
|
||||||
|
|
||||||
|
case GRUB_TERM_CTRL | 'l':
|
||||||
|
menu_fini ();
|
||||||
|
goto refresh;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
int entry;
|
int entry;
|
||||||
|
|||||||
Reference in new issue
Block a user