branch: elpa/aidermacs
commit 598251c9346a56d8b0b62e0d9f672b2be9c3eba9
Author: Mingde (Matthew) Zeng <[email protected]>
Commit: Mingde (Matthew) Zeng <[email protected]>
Handle multi-line input in the aider buffer
Signed-off-by: Mingde (Matthew) Zeng <[email protected]>
---
aider.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aider.el b/aider.el
index cad272c230..b241f4eabf 100644
--- a/aider.el
+++ b/aider.el
@@ -254,7 +254,7 @@ With the universal argument, prompt to edit aider-args
before running."
(defun aider-input-sender (proc string)
"Reset font-lock state before executing a command."
(aider-reset-font-lock-state)
- (comint-simple-send proc string))
+ (comint-simple-send proc (aider--process-message-if-multi-line string)))
;; Buffer-local variables for block processing state
(defvar-local aider--block-end-marker nil