SHOW:
|
|
- or go back to the newest paste.
| 1 | w,h = term.getSize() | |
| 2 | - | |
| 2 | + | |
| 3 | local _,y = term.getCursorPos() | |
| 4 | term.setCursorPos(math.ceil((w-#t)/2),y) | |
| 5 | term.write(t) | |
| 6 | end | |
| 7 | paintutils.drawFilledBox(1,1,w,1,colours.red) | |
| 8 | - | |
| 8 | + | |
| 9 | term.setCursorPos(2,1) | |
| 10 | term.write("rdnt://" .. firewolf.domain)
| |
| 11 | term.setCursorPos(w-5,1) | |
| 12 | term.write("[===]")
| |
| 13 | paintutils.drawFilledBox(1,2,w,5,colours.orange) | |
| 14 | term.setCursorPos(2,2) | |
| 15 | term.write("update")
| |
| 16 | term.setCursorPos(1,4) | |
| 17 | center("Update")
| |
| 18 | term.setTextColour(colours.grey) | |
| 19 | term.setCursorPos(10,2) | |
| 20 | term.write("+")
| |
| 21 | paintutils.drawFilledBox(1,6,w,h,colours.grey) | |
| 22 | term.setTextColour(colours.white) | |
| 23 | term.setCursorPos(1,10) | |
| 24 | center("An update is avaliable for firewolf")
| |
| 25 | term.setCursorPos(1,11) | |
| 26 | center("Current version: " .. firewolf.version)
| |
| 27 | term.setCursorPos(1,12) | |
| 28 | center("Newest version: " .. tonumber(firewolf.version)+0.1) |