Lines Matching refs:menu
39 local menu = {}
64 menu.handlers = {
89 menu.process(entry.submenu)
101 menu.boot_environments = {
152 menu.boot_options = {
215 menu.welcome = {
217 local menu_entries = menu.welcome.all_entries
349 submenu = menu.boot_options,
385 submenu = menu.boot_environments,
406 menu.default = menu.welcome
410 menu.current_alias_table = {}
412 function menu.draw(menudef)
415 menu.current_alias_table = drawer.drawscreen(menudef)
422 function menu.process(menudef, keypress)
426 menu.draw(menudef)
435 menudef ~= menu.default then
447 for k, v in pairs(menu.current_alias_table) do
456 local handler = menu.handlers[sel_entry.entry_type]
466 menu.draw(menudef)
471 function menu.run()
486 menu.draw(menu.default)
489 autoboot_key = menu.autoboot(delay)
499 menu.process(menu.default, autoboot_key)
506 function menu.autoboot(delay)
543 function cli.menu() function
544 menu.run()
547 return menu