removed the memory free part from luash

This commit is contained in:
Izaya 2017-08-03 12:24:06 +10:00
parent f736810fc3
commit d234a9e4bf

View File

@ -1,7 +1,6 @@
function luash(si) function luash(si)
spawn("lua shell",function() spawn("lua shell",function()
coroutine.yield() print(_OSVERSION..", "..string.format("%4d",computer.totalMemory()/1024).."K memory")
print(_OSVERSION..", "..string.format("%4d",computer.totalMemory()/1024).."K memory, "..string.format("%4d",computer.freeMemory()/1024).."K free")
print(_VERSION) print(_VERSION)
while true do while true do
write((os.getenv("PWD") or "").."> ") write((os.getenv("PWD") or "").."> ")