Closed drbobbeaty closed 5 years ago
This is an unfortunate side-effect of the new approach to print IO in nrepl. Previously, whidbey would use puget to fully render the result as a string (without a newline) and then send it to the client. Now, output is streamed to the repl client, and this doesn't give whidbey an opportunity to trim the trailing newline. See #28 for some more context.
In the future this could be fixed in a couple of ways, but for now there's no easy workaround.
Thank you so much for a good description of the issue. I really appreciate it.
I just updated to
Leiningen 2.9.0
and triedwhidbey 2.1.0
and the result was that extra newlines are being added to the output: If I go back toLeiningen 2.8.3
the extra newlines aren't there. Same whidbey version.Is there something about whidbey that can be configured for the change in nREPL?