Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-729

Please consider disabling ^C as a way to exit the shell

    • Type: Icon: Story Story
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: UI / UX
    • None
    • Not Needed

      Problem Description

      While the ^C behavior in mongosh is much nicer than in mongo, it's too easy for auto-repeat to kick in, issue more than one ^C, and exit the shell – thereby negating this nice new behavior.

      Steps to Reproduce

      Hit ^C twice or more, shell exists.

      Expected Results

      ^C just prints "use ^D to exit"; or even does nothing like in ipython. But does not exit the shell.

      Actual Results

      Shell quits.

      Additional Notes

            Assignee:
            Unassigned Unassigned
            Reporter:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: