REPL buffer doesn't show new output when the prompt is on the first line
However, if REPL prompt is on the second line or lower, it works correctly. In my case, REPL prompt gets on the first line after cider-repl-clear-buffer.
Latest CIDER from master.

That’s one super weird bug! Thanks for reporting it!
Thanks for the report; let me know how you get on with the pushed fix.
I can confirm that the above example works now, but the issue hasn't been solved completely. Steps to reproduce:
cider-repl-clear-buffer(leaves onlyuser=>).- Press Return in the REPL buffer (now have:
user=>
user=>
(println "Hello")C-x C-e from the code buffer. The output doesn't appear.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Nooo! The bug is still there 😄
Actually, setting cider-repl-display-output-before-window-boundaries to t fixes it. Sorry for the noise.
@manuel-uberti Turning that variable on hurts performance when a lot of data is printed to the REPL. For myself, I made a very low-tech solution:
(defun cider-clear-repl-buffer-with-shift ()
"Needed to side-step https://github.com/clojure-emacs/cider/issues/2595."
(interactive)
(cider-repl-clear-buffer)
(insert "(symbol \"\")")
(cider-repl-return))
And then I bind it to C-c C-l in the REPL buffer. Now, when I clear the REPL, the prompt is on the second line, and all output becomes immediately visible.
More context here https://github.com/clojure-emacs/cider/issues/3219 Basically we had a fix, but I had to make it "optional" because it degraded the performance quite a lot for some people.
Thank you both for the explanation. I see what you mean @alexander-yakushev and I think I'll use your snippet.