austinhaas / scrim

An Emacs package for Clojure REPL interaction
GNU General Public License v3.0
1 stars 1 forks source link

echo-output doesn't work correctly without echo-input #20

Closed austinhaas closed 4 years ago

austinhaas commented 4 years ago

The problem is that scrim--echo-output uses comint-last-input-end to determine where the output starts, but that isn't set if scrim-echo-input-p is nil. The result is that it just keeps displaying the complete history.

A fallback could be to search for the end of the last prompt.

I think we should make echo input the only option and do this instead: https://github.com/austinhaas/scrim/issues/19.

austinhaas commented 4 years ago

Fixed: eded1ed6853b751a0f1a80525d18d53fded6adc5