branch: externals/consult
commit 271b89af7f59acaa54123d36abb9efdcea0ddc38
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    consult--async-process: Split lines with [\r\n]+
    
    See https://github.com/oantolin/embark/issues/339
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index eed3769..42ce162 100644
--- a/consult.el
+++ b/consult.el
@@ -1599,7 +1599,7 @@ PROPS are optional properties passed to `make-process'."
                    (when flush
                      (setq flush nil)
                      (funcall async 'flush))
-                   (let ((lines (split-string out "\n")))
+                   (let ((lines (split-string out "[\r\n]+")))
                      (if (not (cdr lines))
                          (setq rest (concat rest (car lines)))
                        (setcar lines (concat rest (car lines)))

Reply via email to