branch: elpa/aidermacs commit 65118bb465fedca85a12a3d09f299f9b43c0a99b Author: Troy Hinckley <t.mac...@gmail.com> Commit: Troy Hinckley <t.mac...@gmail.com>
Remove "Detected dumb terminal" from output Now that aider has option to control input and output, we don't need to use the "dumb" terminal to disable fancy input. This let's us fix the message: Detected dumb terminal, disabling fancy input and pretty output. That will show up if that term is used. --- aidermacs-backend-comint.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aidermacs-backend-comint.el b/aidermacs-backend-comint.el index 4af2e7993b..cfa098b5dd 100644 --- a/aidermacs-backend-comint.el +++ b/aidermacs-backend-comint.el @@ -241,7 +241,8 @@ This allows for multi-line input without sending the command." (defun aidermacs-run-comint (program args buffer-name) "Create a comint-based buffer and run aidermacs PROGRAM with ARGS in BUFFER-NAME." - (let ((comint-terminfo-terminal "dumb")) + (let ((comint-terminfo-terminal "eterm-color") + (args (append (list "--no-pretty" "--no-fancy-input") args))) (unless (comint-check-proc buffer-name) (apply 'make-comint-in-buffer "aidermacs" buffer-name program nil args) (with-current-buffer buffer-name