From 543fa68b45b020f9a86b48bf961b54268fc6690b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 11 Aug 2024 10:09:36 -0700 Subject: [PATCH] fix: Use Text() to format user input in console.print() --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 7f759362f..f4e3c2eb2 100644 --- a/aider/io.py +++ b/aider/io.py @@ -330,7 +330,7 @@ class InputOutput: def user_input(self, inp, log_only=True): if not log_only: style = dict(style=self.user_input_color) if self.user_input_color else dict() - self.console.print(inp, **style) + self.console.print(Text(inp), **style) prefix = "####" if inp: