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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions