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. |
||
---|---|---|
.. | ||
color.lua | ||
config.lua | ||
core.lua | ||
drawer.lua | ||
loader.lua | ||
Makefile | ||
menu.lua | ||
password.lua | ||
screen.lua |