Skip to content

Write newline after response #6

@iainelder

Description

@iainelder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions