Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --get monitor size
- mouseWidth = 0
- mouseHeight = 0
- monitor = peripheral.wrap("top")
- monitor.clear()
- monitor.setCursorPos(1,1)
- w,h=monitor.getSize()
- term.redirect(monitor)
- print(w)
- print(h)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement