Compare commits

...

2 Commits

Author SHA1 Message Date
Izaya 026f2524e6 this one works, I tested it 2023-08-07 13:26:42 +10:00
Izaya e20123b527 clean up print tabbing 2023-08-07 13:26:20 +10:00
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ end
function print(...) -- Writes each argument to the default output stream, separated by space. function print(...) -- Writes each argument to the default output stream, separated by space.
for k,v in ipairs({...}) do for k,v in ipairs({...}) do
io.write(tostring(v).."\t") io.write((k>1 and "\t" or "")..tostring(v))
end end
io.write("\n") io.write("\n")
end end

View File

@ -18,7 +18,7 @@ function fsmanager.start()
run = true run = true
return os.spawn(function() return os.spawn(function()
for addr, _ in component.list("filesystem") do for addr, _ in component.list("filesystem") do
mount(addr) fsmanager.mount(addr)
end end
while run do while run do
local tE = {coroutine.yield()} local tE = {coroutine.yield()}