Advertisement
guitarplayer616

PocketCompEmu

Jul 6th, 2015
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. local w,h = term.getSize()
  2. local comp = window.create(term.current(),1,1,26,20)
  3. --local comp2 = window.create(term.current(),27,21,w,h)
  4. term.setBackgroundColor(colors.lightBlue)
  5. term.clear()
  6. comp.clear()
  7. --term.redirect(comp2)
  8. --shell.run(shell.resolveProgram("shell"))
  9. term.redirect(comp)
  10. shell.run(shell.resolveProgram("shell"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement