Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local term = require("term")
- local gpu = term.gpu()
- local sizeX, sizeY = term.getViewport()
- function clearScreen()
- setBack(dBack)
- term.clear()
- setCursor(1,1)
- end
- function setCursor(x,y)
- term.setCursor(x,y)
- end
- function setBack(color)
- gpu.setBackground(color, false)
- end
- setBack(0xcf8013)
- clearScreen()
- local t1 = "This part is still under developement"
- local l1 = string.len(t1)/2
- setCursor(sizeX/2-l1,siizeY/2)
- print(t1)
- os.sleep(4)
- os.execute("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement