From 2ff4ee56701a1c238f3fda52fd7764efa90559f4 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 31 Dec 2020 03:49:51 +0100 Subject: [PATCH] fix: boolean value false is now correctly displayed in Lua.lua (#51) --- sys/apps/Lua.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({ })