Comment 9 for bug 1178618

Revision history for this message
Hsin-Yi, Chen (hychen) (ossug-hychen) wrote :

@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
```
  /* If timeout is 0, drawing is pointless (and ugly). */
  if (grub_menu_get_timeout () == 0)
    {
      *auto_boot = 1;
      return default_entry;
    }
```