[SERVER-4288] Shell multi-line history Created: 15/Nov/11 Updated: 15/Nov/11 Resolved: 15/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrew Harbick | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Terminal.app on OS X mongo shell version 2.0.1 |
||
| Participants: |
| Description |
|
I don't think this is a readline vs. linenoise different... It would be nice to consider an entire query/command to be the history entry (instead of the lines of the query). For example consider this current output: > db.events.find( ... ) If after running that query you hit the up arrow the only thing in your history is: > db.events.find( It would be awesome if you could see the whole multi-line command and then be able to edit it in place. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 15/Nov/11 ] |
|
See |