More work on redirect

This commit is contained in:
2026-06-02 18:34:03 -04:00
parent 6c9f75bfac
commit d951d2ab61
12 changed files with 298 additions and 201 deletions

View File

@@ -55,14 +55,14 @@ function engio.pressmenu(label)
return
end
local result = nil
local menuclosure = nil
local add = function(lbl, closure)
if (lbl == label) then
result = closure
menuclosure = closure
end
end
class.lookmenu(add)
if result ~= nil then
result()
if menuclosure ~= nil then
menuclosure()
end
end