summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lem/io.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lem/io.lua b/lem/io.lua
index bd24d66..e1c5738 100644
--- a/lem/io.lua
+++ b/lem/io.lua
@@ -76,6 +76,10 @@ do
return stdout:write(...)
end
+ function io.print(...)
+ return stdout:print(...)
+ end
+
function io.close(file)
if not file then file = stdout end
return file:close()