Update sms.lua
This commit is contained in:
parent
fb443d3a03
commit
86a8ef8c09
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ local function readMsg()
|
||||||
elseif e[1] == "http_success" then
|
elseif e[1] == "http_success" then
|
||||||
displayWin.setCursorPos(1,y)
|
displayWin.setCursorPos(1,y)
|
||||||
displayWin.write("<You> "..base64.decode(msg))
|
displayWin.write("<You> "..base64.decode(msg))
|
||||||
if y == my then displayWin.scroll(1) else if #msg < 20 then y = y + 1 else y = y + 2 end end
|
if y == my then displayWin.scroll(1) else if #base.decode(msg) < 20 then y = y + 1 else y = y + 2 end end
|
||||||
break
|
break
|
||||||
elseif e[1] == "http_failure" then
|
elseif e[1] == "http_failure" then
|
||||||
term.redirect(ntv)
|
term.redirect(ntv)
|
||||||
|
|
Loading…
Reference in a new issue