Update sms.lua
This commit is contained in:
parent
fd265bb5a4
commit
6e3257f0d9
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,7 @@ local function readMsg()
|
|||
end
|
||||
else
|
||||
term.write("Press enter to exit")
|
||||
term.setCursorBlink(false)
|
||||
while true do
|
||||
local _, k = os.pullEvent("key")
|
||||
if k == keys.enter then
|
||||
|
@ -158,6 +159,8 @@ local function recMsg()
|
|||
end
|
||||
if sendTo ~= "" then
|
||||
printMsg("Type /logout to exit")
|
||||
else
|
||||
printMsg("All messages")
|
||||
end
|
||||
while true do
|
||||
stream = http.post(server.."update.php",head)
|
||||
|
|
Loading…
Reference in a new issue