Open aaronlahey opened 6 years ago
I encountered this also. Looks like it is an intentional behavior to ensure the prompt is displayed properly:
https://github.com/bhauman/rebel-readline/blob/1fc954215bc287ad590dac8e52c782d6077fee55/rebel-readline/src/rebel_readline/clojure/main.clj#L70 https://github.com/bhauman/rebel-readline/blob/1fc954215bc287ad590dac8e52c782d6077fee55/rebel-readline/src/rebel_readline/jline_api.clj#L337
An alternative might be to read out the cursor positon and insert a newline only if the cursor is not on the first column.
Hi! It seems that calling
(flush)
adds an extra newline to the output. Is this expected or is there a way to disable this behavior?Thanks!