Write newline after response
iainelder opened this issue · 1 comments
iainelder commented
The output of get object
is purely the content of the object.
$ riakcli get object animals polly
{"nickname" : "Sweet Polly Purebred", "breed" : "Purebred"}$
For a response that doesn't end with a newline, the prompt gets mixed up with the output and is far to the right of the screen.
If you press up at the prompt to recall the last command, it can mess up the text.
Can you always write a newline after the response so that the prompt is better behaved?
curl supports a similar feature with the -w '\n'
parameter.
Could you do something similar?