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

clojure.pprint/print-table does not output to REPL (IntelliJ/Cursive) #611

Closed
MrGung opened this issue Oct 11, 2020 · 7 comments
Closed

Comments

@MrGung
Copy link

MrGung commented Oct 11, 2020

version

0.2.1

platform

Windows - IntelliJ/Cursive

problem

Evaluating clojure.pprint/print-table the result is printed in the server-window of babashka (bb --socket-repl 1666). Whereas pprint prints to the REPL in IntelliJ.

repro

expected behavior

Both - pprint and print-table should print to the IntelliJ-REPL.

@borkdude
Copy link
Collaborator

@MrGung Can you please try with the newest bb?

@MrGung
Copy link
Author

MrGung commented Oct 11, 2020

Unchanged.

@borkdude
Copy link
Collaborator

@MrGung I think I have a repro of the problem:

user=> (with-out-str (clojure.pprint/print-table [{:a 1} {:a 2}]))

| :a |
|----|
|  1 |
|  2 |
""

@borkdude
Copy link
Collaborator

Fixed with b5f65e1.
You can download a new binary by navigating to the builds of that commit for testing.

@MrGung
Copy link
Author

MrGung commented Oct 11, 2020

Right - with-out-str also did not work.

I couldn't find an artifact for windows...?

@borkdude
Copy link
Collaborator

@MrGung Navigate to Appveyor for that: https://ci.appveyor.com/project/borkdude/babashka/builds/35686982

@MrGung
Copy link
Author

MrGung commented Oct 11, 2020

Works! Output is now displayed in REPL.

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

2 participants