Open ning-github opened 8 years ago
works perfectly, but it doesn't remove the mask (*) character on the console, is this posible?
Anyone planning to merge this soon? We're depending on it for a fix over at https://github.com/lambtron/emojipacks/issues/72 :D
This bug tho -_- , thanks for the pr dude.
This really needs to be merged
@OEMarshall dude, I would really give up on this and look into https://www.npmjs.com/package/prompts
Before: When typing into a prompt.password, if you were to make a typo and press delete to on your keyboard so that you could change it, it would just keep adding to the buffer as well as the process.stdout.
After: The backspace keypress is caught, trimming the final character off the keypress, as well as not including it in the buffer.