Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix improper line indentation when no results are returned #4

Open
sorrell opened this issue Jun 9, 2017 · 3 comments
Open

Fix improper line indentation when no results are returned #4

sorrell opened this issue Jun 9, 2017 · 3 comments

Comments

@sorrell
Copy link
Owner

sorrell commented Jun 9, 2017

When no results are returned from an eval, the "prompt" text will be improperly indented. See below.

screenshot at 2017-06-09 13-02-27

@ghost
Copy link

ghost commented Aug 24, 2019

I see this happening even when there are results. The first output line is always indented, for example:

json> print /a
      1
json> print /
      Cannot evaluate JSON pointer "/" because the object at "" does not contain a property named "".
Parameter name: referenceToken
json> print /b
      [
  "x",
  "y"
]
json>
      json>
      json>

@ghost
Copy link

ghost commented Aug 24, 2019

By the way, nice package, just what I was looking for!

@sorrell
Copy link
Owner Author

sorrell commented Aug 30, 2019

I'll see if I can take a look at this this weekend/soon. And thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant