branch: elpa/aidermacs
commit 097cd76663b8713a2402a0a86c4994a563977288
Author: Troy Hinckley <[email protected]>
Commit: Troy Hinckley <[email protected]>
Hardcode terminal type to dumb
Aider does not work well when it expects to have more advanced shell
capabilities and we don't
provide them, so hardcode the TERM variable.
---
aider.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/aider.el b/aider.el
index 94b8e39ec5..6028cc848d 100644
--- a/aider.el
+++ b/aider.el
@@ -98,7 +98,8 @@ If not in a git repository, an error is raised."
(defun aider-run-aider ()
"Create a comint-based buffer and run \"aider\" for interactive
conversation."
(interactive)
- (let* ((buffer-name (aider-buffer-name)))
+ (let* ((buffer-name (aider-buffer-name))
+ (comint-terminfo-terminal "dumb"))
;; Check if the buffer already has a running process
(unless (comint-check-proc buffer-name)
;; Create a new comint buffer and start the process