Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local width, height = term.getSize()
- local baseTerm = term.current()
- local windowTerm = window.create(baseTerm, 1, 2, width, height)
- function Draw()
- term.setBackgroundColor(colors.black)
- term.clear()
- paintutils.drawLine(1,1, width,1, colors.blue)
- paintutils.drawPixel(width,1, colors.orange)
- end
- while (true) do
- Draw()
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment