general fixes

This commit is contained in:
Izaya 2017-05-15 17:19:24 +10:00
parent 669e877513
commit 080af72ca6
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
s("lua shell",function() s("lua shell",function()
print(_VERSION) print(_VERSION)
while true do while true do
h("display","> ") write("> ")
print(pcall(load(readln()))) print(pcall(load(readln())))
end end
end) end)

View File

@ -24,7 +24,7 @@ function fload(i)
s=s..c s=s..c
c=fread(f,math.huge) c=fread(f,math.huge)
until c == nil until c == nil
load(s) return load(s)
end end
return false return false
end end