Update sms.lua

This commit is contained in:
Ale32bit 2015-10-10 14:27:34 +02:00
parent 483c2a1d13
commit 339d1e68aa

View file

@ -110,7 +110,7 @@ local function readMsg()
elseif e[1] == "http_success" then
displayWin.setCursorPos(1,y)
displayWin.write("<You> "..base64.decode(msg))
if y == my then displayWin.scroll(1) else if #base.decode(msg) < 20 then y = y + 1 else y = y + 2 end end
if y == my then displayWin.scroll(1) else y = y + 1 end
break
elseif e[1] == "http_failure" then
term.redirect(ntv)