diff options
Diffstat (limited to 'core.lua')
-rw-r--r-- | core.lua | 4 |
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 | ||
125 | env.display = function (r) | 125 | env.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() | ||
128 | end | 129 | end |
129 | 130 | ||
130 | env.newline = function (r) | 131 | env.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() | ||
133 | end | 135 | end |
134 | 136 | ||
135 | -------- | 137 | -------- |