mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 18:42:21 +00:00
The boot menu is now a BootMenu trait with two styles. The basic menu is the existing one that prints entries and selects them by number. The new simple menu is full-screen: entries are centered and highlighted, the arrow keys, home, end, page up and page down move the selection, enter boots it, and any key stops the countdown. The style is picked with --menu-style or menu-style in [options], and defaults to simple. The timer code used to wait for a key is shared between both menus in menu.rs.