Skip to content

Commit b10f38f

Browse files
committed
Use comint-send-string
This one is solving the weird duplicating prompt issue. After the sanitation patch we were sending newline twice. Using comint-send-string because it is more low-level and does not modify the input string, which we are building correctly already (hopefully).
1 parent f420c8a commit b10f38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inf-clojure.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ customizations."
341341
(let ((sanitized (inf-clojure--sanitize-command string)))
342342
(when (not (string-empty-p sanitized))
343343
(inf-clojure--log-string sanitized "----CMD->")
344-
(comint-simple-send proc sanitized))))
344+
(comint-send-string proc sanitized))))
345345

346346
(defcustom inf-clojure-load-form "(clojure.core/load-file \"%s\")"
347347
"Format-string for building a Clojure expression to load a file.

0 commit comments

Comments
 (0)