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

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Won't Do
    • Priority: 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
              Reporter:
              Ramon Fernandez Marina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: