Skip to content

Silent still outputs text #29

Description

@OKNoah

Using this code, I still see the text output.

read({ prompt: 'Email: ', default: 'Email' }, (err, email) => {
  read({ prompt: 'Password: ', default: 'Password', silent: true, replace: '*' }, (err, password) => {
    resolve({email: email, password: password});
  });
});

Just to confirm, I should see

Password: *****

when typing, right? Or does silent: true simply not output the text a second time? Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions