Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Write newline after response #6

Closed
iainelder opened this issue Jan 8, 2014 · 1 comment
Closed

Write newline after response #6

iainelder opened this issue Jan 8, 2014 · 1 comment

Comments

@iainelder
Copy link

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?

@katta
Copy link
Owner

katta commented Jan 8, 2014

Fixed in 172221d

@katta katta closed this as completed Jan 8, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants