about summary refs log tree commit diff stats
path: root/core.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core.lua')
-rw-r--r--core.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core.lua b/core.lua index 20c6b5c..3b0eab0 100644 --- a/core.lua +++ b/core.lua
@@ -124,12 +124,14 @@ end
124 124
125env.display = function (r) 125env.display = function (r)
126 assert_arity(r,1,1) 126 assert_arity(r,1,1)
127 io.write(r[1]) 127 io.write(tostring(r[1]))
128 io.flush()
128end 129end
129 130
130env.newline = function (r) 131env.newline = function (r)
131 assert_arity(r,0,0) 132 assert_arity(r,0,0)
132 io.write("\n") 133 io.write("\n")
134 io.flush()
133end 135end
134 136
135-------- 137--------