I've been trying to make a simple password reader, but it just doesn't work...
Whenever I enter anything into the field, another character will be added (in the form of an extra line break if pwchar is nil). At first, I thought the "dobreak" parameter would help, but all that does is print "incorrect" on the same line as the password...
local term = require("term")
term.write("enter password: ")
pw = (term.read(nil, false, nil, "*"))
if pw == "1234" then
I've also tried other importing other peoples' password reade