Backspace for password prompt adds an asterix and doesn't delete

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.8.0
    • Affects Version/s: 0.7.7
    • Component/s: CLI Module
    • None
    • 2
    • Iteration Vegetable
    • Not Needed

      Can't correct mistakes when prompted for password

      Example:

      mongosh "mongodb+srv://mycluster/test" --username main_user

       

      When running mongosh with a username it correctly prompts for a password in the terminal. Each password character entered results in an asterix correctly being shown. However, if you make a mistake and hit backspace, it doesn't delete the last character and instead shows another asterix added 

       

      Also to add I am using mongosh 0.7.7. on Ubuntu 20.04 just in case this is OS specific.

              Assignee:
              Anna Henningsen
              Reporter:
              Paul Done
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: