Skip to content

Chop off trailing whitespace before printing REPL result

Philip requested to merge (removed):master into master

On my system some interpreters add some trailing whitespace to their response, and it's printed when evaluating an expression. This leads to the mini-buffer growing and shrinking unnecessarily. I usually patch this using string-trim, but for the sake of backwards compatibility I replicated it's behaviour here manually.

Merge request reports