aboutsummaryrefslogtreecommitdiffstats
path: root/stand/lua/menu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'stand/lua/menu.lua')
-rw-r--r--stand/lua/menu.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
index 4e5baa9b8343..fda16fda71ff 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -241,6 +241,7 @@ menu.welcome = {
boot_entry_2,
menu_entries.prompt,
menu_entries.reboot,
+ menu_entries.console,
{
entry_type = core.MENU_SEPARATOR,
},
@@ -280,6 +281,16 @@ menu.welcome = {
end,
alias = {"s", "S"},
},
+ console = {
+ entry_type = core.MENU_ENTRY,
+ name = function()
+ return color.highlight("C") .. "ons: " .. core.getConsoleName()
+ end,
+ func = function()
+ core.nextConsoleChoice()
+ end,
+ alias = {"c", "C"},
+ },
prompt = {
entry_type = core.MENU_RETURN,
name = color.highlight("Esc") .. "ape to loader prompt",