diff --git a/aider/commands.py b/aider/commands.py index adbe8468c..f2b10eb6e 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -438,7 +438,7 @@ class Commands: def cmd_voice(self, args): "Record and transcribe voice input" text = record_and_transcribe() - self.io.tool_output(text) + self.io.user_input(text, log_only=False) return text diff --git a/aider/io.py b/aider/io.py index dee90b78f..5dbcc9264 100644 --- a/aider/io.py +++ b/aider/io.py @@ -231,7 +231,12 @@ class InputOutput: self.user_input(inp) return inp - def user_input(self, inp): + 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) + prefix = "####" if inp: hist = inp.splitlines()