augustclear

managerbg

Nov 20th, 2020 (edited)
889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. --Manager Background Application
  2.  
  3. local manlib = require("lib.managerlib")
  4. local tx,ty = 1,1
  5. local mx,my = getSize()
  6.  
  7. term.write("Open for connections")
  8.  
  9. while true do
  10.     ty = ty + 1
  11.     term.setCursorPos(tx,ty)
  12.     tx,ty = getCursorPos()
  13.     if ty > my then
  14.         scroll(1)
  15.     end
  16.     manlib.get_heartbeats()
  17. end
Advertisement
Add Comment
Please, Sign In to add comment