diff --git a/sys/apps/Lua.lua b/sys/apps/Lua.lua index 2bcd8e5..9af06fd 100644 --- a/sys/apps/Lua.lua +++ b/sys/apps/Lua.lua @@ -348,7 +348,7 @@ function page:executeStatement(statement) term.redirect(oterm) counter = counter + 1 - if s and m then + if s and type(m) ~= "nil" then self:setResult(m) else self.grid:setValues({ })