Posted 13 June 2013 - 06:46 AM
I'm making a little bit of an ASCII GUI for my program. I managed to get the location of everything fixed properly so it'll display nicely but for some reason it doesn't want to work that way.
Here's my code:
I'm not sure what I'm doing wrong. It'd normally display something but I'm getting a blank spot for where the computer ID and the OS Version would be. I'm wondering if I got something wrong here?
Here's my code:
function gateKeeper()
shell.run("clear")
term.setCursorPos(15,7)
write("Bluelock 2.0 running ")
term.setCursorPos(15,8)
write("on computer: ", os.getComputerID()) -- won't display computer ID
term.setCursorPos(15,9)
write("OS Version: ", os.version()) -- won't display os version
term.setCursorPos(15,10)
write("To view credits")
term.setCursorPos(15,11)
write("type \"credits\".")
term.setCursorPos(15,13)
write("Password: ")
input = io.read()
shell.run("clear")
end
I'm not sure what I'm doing wrong. It'd normally display something but I'm getting a blank spot for where the computer ID and the OS Version would be. I'm wondering if I got something wrong here?