OC-PsychOS/modules/lib/print.lua

12 lines
212 B
Lua

function write(...)
for k,v in ipairs({...}) do
event.push("display",os.getenv("sI"),tostring(v))
end
end
function print(...)
for k,v in ipairs({...}) do
write(tostring(v).."\n")
end
end
io.write = write