Dave Finnegan created CASSANDRA-4652:
----------------------------------------
Summary: cqlsh previous command handling
Key: CASSANDRA-4652
URL: https://issues.apache.org/jira/browse/CASSANDRA-4652
Project: Cassandra
Issue Type: Improvement
Reporter: Dave Finnegan
Priority: Minor
In a terminal shell commands can be entered in multi-line mode, similar to
cqlsh. However, the previous command prompt (up arrow, ^p) provides the
previous command as a single line which can then be edited without having to
type the previous command key stroke for each of the multiple lines that were
originally entered.
So, rather than entering a 5 line command and then hitting the previous line
keystroke 5 times to reissue the command, then 5 times to reissue the second
line of the command (which you may edit), then 5 times again for line 3, 5x for
ln4, 5x for ln5 and finally completing the command, you can simply hit the
previous command keystroke, edit this (now complex) line, and reissue.
It would be nice if cqlsh would include this same sort of behavior for previous
command prompting as there are many cases where the previous command is used
and these commands are often multi-line.
I know that I could just type the original command as one, long, complex
command line, but cqlsh really wants to take multi-line commands.
So, this is a simple ease of use request.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira