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()
print(_VERSION)
while true do
h("display","> ")
write("> ")
print(pcall(load(readln())))
end
end)

View File

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