menu: When a directory entry is selected, show expand/collapse rather than boot

This commit is contained in:
mintsuki 2021-07-08 17:15:28 +02:00
parent 00c7c8a6c5
commit 3270ce1bf8

View File

@ -589,7 +589,8 @@ refresh:
if (editor_enabled && selected_menu_entry->sub == NULL) {
print(" \e[32mARROWS\e[0m Select \e[32mENTER\e[0m Boot \e[32mE\e[0m Edit");
} else {
print(" \e[32mARROWS\e[0m Select \e[32mENTER\e[0m Boot");
print(" \e[32mARROWS\e[0m Select \e[32mENTER\e[0m %s",
selected_menu_entry->expanded ? "Collapse" : "Expand");
}
set_cursor_pos(x, y);
}