Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8340

Shell history search doesn't work in Compass

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • Environment:
      OS: mac os
      node.js / npm versions: v22.9.0 / 10.8.3
      Additional info: Compass 1.44.4
    • 5
    • Developer Tools

      Problem Statement/Rationale

      Console version of mongosh has a history search function: ctrl+r allows to search command history to find specific operators. For example (all see screenshot):

      Enterprise rs0 [direct: primary] test> db.test.explain().find({$expr: {$eq: [{$or: ["$c", true]}, "$a"]}})
      bck-i-search: $exp_
      

      Steps to Reproduce

      1. Open shell.
      2. Press ctrl+r

      Expected Results

      Search bar appears

      Actual Results

      Nothing happens

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: