Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- w,h=term.getSize()
- term.clear()
- term.setCursorPos(1,1)
- icons = {
- [1] = {shortname="St",fullname="Store"},
- [2] = {shortname="Fi",fullname="Firefox"},
- [3] = {shortname="Re",fullname="RednetEx"}
- }
- for i=1,#icons do
- if not icons[i].shortname then
- icons[i].shortname=icons[i].fullname:sub(1,2)
- end
- write("+--+\n")
- write("|"..icons[i].shortname.."|\n")
- write("+--+\n")
- write(icons[i].fullname.."\n")
- end
- term.setCursorPos(1,h-1)
- for i=1,w do
- if i==7 then
- write("+")
- else
- write("-")
- end
- end
- term.setCursorPos(1,h)
- write("START |")
- while true do sleep(0) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement