Prompt ghosts: it duplicates and moves!
Expected behavior
I expect the prompt not to appear at all when it displays a result
Actual behavior

Steps to reproduce the problem
I don't have a consistent way yet, working on it
Environment & Version information
-
inf-clojure version information
latest master
Lein/Boot version
Lumo repl
Emacs version
24.5.1
Operating system
Ubuntu
Can and will debug sooner or later, not blocking for now, which is good :wink:
That's not really a bug, but is an annoyance for sure. You pasted the code, so the subprompts for the 2 extra lines of code appear with the result.
At some point I thought we added some scrubbing code for those, but I might have only thought of adding it. Probably it'd be easiest to simply kill the subprompts completely. I think there was some config for this, but I don't remember it.
See also https://github.com/clojure-emacs/inf-clojure/commit/ff8dcd99020f0c6dd36a37a3088664f6dfb45fbc
I saw that comint has an accumulate feature, can it be useful for solving this? It is not really a priority for now anyways.
I saw that comint has an accumulate feature, can it be useful for solving this?
No idea what you mean by this.
I was talking about this. I will try it.
Looks promising. I'm far from a comint-master, so I feel I'm learning here as much as you are. 😀