mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 18:42:21 +00:00
fix(boot): make the graphical menu mouse opt-in
Add menu-styles.graphical.enable-mouse, which is off by default. Without it, or without a pointing device, the cursor is not drawn and the hint only mentions the keyboard.
This commit is contained in:
1 parent
ffbfcbc1f0
commit
9ac55ada50
5 files changed
+74
-10
No files matched your search
@@ -130,7 +130,7 @@ $ sprout.efi --boot="Boot Xen"
|
||||
$ sprout.efi --autoconfigure
|
||||
# Use the basic boot menu instead of the simple one.
|
||||
$ sprout.efi --menu-style=basic
|
||||
# Use the graphical boot menu, which can be used with the mouse.
|
||||
# Use the graphical boot menu.
|
||||
$ sprout.efi --menu-style=graphical
|
||||
# Show the boot menu for 10 seconds before booting the default entry.
|
||||
$ sprout.efi --menu-timeout=10
|
||||
@@ -142,6 +142,16 @@ $ sprout.efi --retain-boot-console
|
||||
$ sprout.efi --bls-strict-mode
|
||||
```
|
||||
|
||||
### Graphical Menu
|
||||
|
||||
The graphical menu selects entries with the keyboard. The mouse is off by default. To use it, enable it in
|
||||
`sprout.toml`. The cursor is only shown when the mouse is enabled and the firmware has a pointing device.
|
||||
|
||||
```toml
|
||||
[menu-styles.graphical]
|
||||
enable-mouse = true
|
||||
```
|
||||
|
||||
### Boot Linux from ESP
|
||||
|
||||
```toml
|
||||
|
||||
Reference in new issue
Block a user