austinhaas / scrim

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

Improve handling of output. #18

Closed austinhaas closed 4 years ago

austinhaas commented 4 years ago

This may only pertain to displaying output in the echo area.

The output filter function that gets called when new output arrives may be called multiple times for each output. We already filter out prompts, trailing newlines, and empty strings, but desired output might also be split into multiple calls, and only the last will be displayed in the echo area. That will look incorrect.

Determine if there is any way to modify comint's behavior. If not, then we may need to buffer the output.

Proposal: Each time output is received, use comint's fns to find the output between the last input and the current prompt.

austinhaas commented 4 years ago

Fixed: b430f8259844cefc1917034c01ccc48164200559