Skip to content

Commit 6321fc3

Browse files
committed
lk2nd: device: menu: Make the option look like ">> Option <<" when selected
1 parent 1893a5e commit 6321fc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lk2nd/device/menu/menu.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,12 @@ void display_fastboot_menu(void)
259259

260260
switch (wait_key()) {
261261
case KEY_POWER:
262+
y = y_menu + incr * sel;
263+
fbcon_printf_ln(
264+
menu_options[sel].color,
265+
y, incr, true, ">> %s <<",
266+
menu_options[sel].name
267+
);
262268
menu_options[sel].action();
263269
break;
264270
case KEY_VOLUMEUP:

0 commit comments

Comments
 (0)