fixed printInline & printf

This commit is contained in:
2026-02-20 23:07:31 -05:00
parent 10bc775e64
commit 875759022a

View File

@@ -9,13 +9,11 @@ function print(...)
end
function printf(fmt, ...)
coroutine.yield()
local output = string.format(fmt, ...)
syscall.write(1, output.."\n")
end
function printInline(...)
coroutine.yield()
local args = {...}
local output = ""
for i = 1, #args do output = output .. tostring(args[i]) .. "\t" end