branch: elpa/aidermacs
commit 1158314ef4319fd7f0c0eb84a1d17250a6b5648f
Author: Mingde (Matthew) Zeng <[email protected]>
Commit: Mingde (Matthew) Zeng <[email protected]>

    feat: add --linear-output option for Aider-CE in aidermacs-run
    
    Fixes #184
    
    Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) 
<[email protected]>
---
 aidermacs.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/aidermacs.el b/aidermacs.el
index 76f8686a67f..54c541fef93 100644
--- a/aidermacs.el
+++ b/aidermacs.el
@@ -437,6 +437,10 @@ set `aidermacs-default-chat-mode' to 'architect' instead."
                ;; Add weak model if specified
                (when aidermacs-weak-model
                  (list "--weak-model" aidermacs-weak-model))
+               ;; Aider-CE Only Option
+               (when (and aidermacs--resolved-program
+                          (string-match-p "aider-ce" 
aidermacs--resolved-program))
+                 '("--linear-output"))
                (when aidermacs-global-read-only-files
                  (apply #'append
                         (mapcar (lambda (file) (list "--read" file))

Reply via email to