From 4c50fc6d69540e8396b0f067097d6e4fddfdaf52 Mon Sep 17 00:00:00 2001 From: Vamsi Talupula Date: Sun, 8 Jun 2025 17:30:12 +0530 Subject: [PATCH] Let 'rich' use code_theme as inline_code_theme --- aider/io.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 79f0b0c53..f8cf78cd3 100644 --- a/aider/io.py +++ b/aider/io.py @@ -1001,7 +1001,11 @@ class InputOutput: self.console.print(*messages, style=style) def get_assistant_mdstream(self): - mdargs = dict(style=self.assistant_output_color, code_theme=self.code_theme) + mdargs = dict( + style=self.assistant_output_color, + code_theme=self.code_theme, + inline_code_lexer="text", + ) mdStream = MarkdownStream(mdargs=mdargs) return mdStream