Advertisement
EliteAnax17

commie program test

Nov 4th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. local gpu = require("component").gpu
  2. local term = require("term")
  3.  
  4. gpu.setResolution(18, 1)
  5.  
  6. local w, h = gpu.getResolution()
  7.  
  8. gpu.fill(1, 1, w, h, " ")
  9. gpu.setBackground(0xCC0000)
  10. gpu.setForeground(0xFFD700)
  11.  
  12. term.clear()
  13. term.write("\n\nWelcome to Commie!")
  14.  
  15. while true do
  16. os.sleep(1)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement