freebsd-dev/stand/lua
Kyle Evans a51f9f0c48 lualoader: Simplify menu definitions a little further
Allow "name" entries to be simple strings, instead of just functions. We
know whether we support colors or not by the time any of this is setup, so
all menu names that are basically static with colors sprinkled in are good
candidates for simplification.

Also simplify "func" in many cases where it's just invoking another function
with no arguments. The downside to this simplification is that the functions
called can no longer be trivially replaced by a local module. The upside is
that it removes another layer of indirection that we likely don't need.

These can be re-evaluated later if a compelling argument is raised, on a
case-by-case basis, for replacement.
2018-02-21 04:48:37 +00:00
..
color.lua lualoader: Drop excessive parenthesizing 2018-02-21 01:35:19 +00:00
config.lua lualoader: Output "Failed to parse" messages 2018-02-21 01:52:42 +00:00
core.lua lualoader: Return only argstr if with_kernel not requested 2018-02-21 03:06:36 +00:00
drawer.lua lualoader: Simplify menu definitions a little further 2018-02-21 04:48:37 +00:00
loader.lua lualoader: Bring in local.lua module if it exists 2018-02-21 02:35:13 +00:00
Makefile
menu.lua lualoader: Simplify menu definitions a little further 2018-02-21 04:48:37 +00:00
password.lua lualoader: Drop excessive parenthesizing 2018-02-21 01:35:19 +00:00
screen.lua lualoader: Drop excessive parenthesizing 2018-02-21 01:35:19 +00:00