clj-extras-plugin suppress output to console
Opened this issue · 2 comments
mikeananev commented
Problem: if clj-extras-plugin
installed then output to REPL window is suppressed from other threads.
Steps to reproduce:
- I wrote an UDP Server and noticed that
println
from other thread is suppressed. Received messages or timeout messages are not printed.
- I disabled the plugin and restart the REPL. Everything works as expected: I see timeout messages or received messages. See screen shot.
mikeananev commented
On step 2 also I restarted iDEA
brcosta commented
Thanks for the repro code, I can reproduce it, the current implementation uses a naive approach of creating an efemeral/short lived nrepl connection to the session created by cursive's repl, run the code in it, intercept its output and show it in the tooltip. After the tooltip is closed this connection is closed and then all messages after that (like the printlns) are lost. Couldn't come up with a quick fix for that one yet but I'll try a more robust fix later :)