I will look at the code of hotkey to see how to improve it, it seems I should add some key detection here to let grub boot to the menu entry when corresponding key is pressing.
file: ${src}/grub-core/normal/menu.c
```
/* If timeout is 0, drawing is pointless (and ugly). */
if (grub_menu_get_timeout () == 0)
{
*auto_boot = 1;
return default_entry;
}
```
@Colin
I will look at the code of hotkey to see how to improve it, it seems I should add some key detection here to let grub boot to the menu entry when corresponding key is pressing.
file: ${src}/ grub-core/ normal/ menu.c get_timeout () == 0)
```
/* If timeout is 0, drawing is pointless (and ugly). */
if (grub_menu_
{
*auto_boot = 1;
return default_entry;
}
```