flatiron/prompt

Password/Hidden inputs not hidden

perry-mitchell opened this issue · 1 comments

Typing a password shows both the password and the mask characters:

Prompt not hidden

I know this is kinda late to be posting to this, but this working fine for me.

 var schema = {
            properties: {
               password: {
                    description: colors.bgBlack.cyan('Password'),
                    replace: '*',
                    required: true,
                    hidden: true
                }
        }
  }

prompt.get(schema, function err, result){