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
|
end
|
||||||
else
|
else
|
||||||
term.write("Press enter to exit")
|
term.write("Press enter to exit")
|
||||||
|
term.setCursorBlink(false)
|
||||||
while true do
|
while true do
|
||||||
local _, k = os.pullEvent("key")
|
local _, k = os.pullEvent("key")
|
||||||
if k == keys.enter then
|
if k == keys.enter then
|
||||||
|
@ -158,6 +159,8 @@ local function recMsg()
|
||||||
end
|
end
|
||||||
if sendTo ~= "" then
|
if sendTo ~= "" then
|
||||||
printMsg("Type /logout to exit")
|
printMsg("Type /logout to exit")
|
||||||
|
else
|
||||||
|
printMsg("All messages")
|
||||||
end
|
end
|
||||||
while true do
|
while true do
|
||||||
stream = http.post(server.."update.php",head)
|
stream = http.post(server.."update.php",head)
|
||||||
|
|
Loading…
Reference in a new issue