-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
cider-result popup buffer doesn't support the ansi escape sequences #1656
Comments
While fixing this is simple, it seems to me the whole functionality is kind of broken. Why are we dumping the stdout and the stderr in a @Malabarba @cichli Any thoughts? |
I somehow agree with you, the output of the cider-result should in norm contain only the result of the function and not the side effect. However not all functions are pure and having stdout and stderr redirected as it is now, it makes it way easier to work with, rather than going to look for the repl server output. |
Perhaps. On the other hand, this is marked as a clojure-mode buffer and all the output gets corrupted there because of this, so it looks really ugly to me (not to mention it's not exactly clear what's the result and what's the output in some situations). I'll fix your particular problem, but it definitely seems more important to me to reconsider this functionality at a more basic level. |
Thanks. I'm a big fan of this functionality. The inline evaluation is good only for very small results, but data structures do not render nicely inline. I now got used to it and it is my main evaluation method. |
I'll fix this for now and we can discuss potential improvements in another ticket. |
Expected behavior
Ansi escape sequences are rendered properly like in the cider repl buffer
Actual behavior
ansi escape sequences are printed-out without proper rendering
Steps to reproduce the problem
[com.taoensso/timbre "4.3.1"]
to your projectEnvironment & Version information
CIDER version information
Tried on:
CIDER 0.12.0snapshot (package: 20160405.2359), nREPL 0.2.12
andCIDER 0.11.0
on
Clojure 1.7.0, Java 1.8.0_45
Emacs version
Emacs 24.5.1
Operating system
OS X 10.11 "El Capitan"
The text was updated successfully, but these errors were encountered: