An up-to-date editor for the shell command line would be a very welcome improvement to the MongoDB client. Here is a list of things that I find most annoying:
- navigation keys (Home, End, Ctrl+arrow) do not work at all; you have to keep depressed arrow keys in order to navigate through your command
- searching in the history of commands is not possible
- the editor is pretty easy to confuse if one tries to write a multiline script in the command line, but fails to pair braces correctly
Is it possible to use the readline library for this, or a similar cross-platform library with an acceptable license?