diff --git a/aider/commands.py b/aider/commands.py index ad56666a8..37652bb3f 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -441,7 +441,10 @@ class Commands: return text = voice.record_and_transcribe() + print() self.io.user_input(text, log_only=False) + print() + return text diff --git a/aider/voice.py b/aider/voice.py index 00a6259a7..9ff3e521f 100644 --- a/aider/voice.py +++ b/aider/voice.py @@ -31,7 +31,7 @@ def record_and_transcribe(): with sf.SoundFile(filename, mode="x", samplerate=sample_rate, channels=1) as file: with sd.InputStream(samplerate=sample_rate, channels=1, callback=callback): - input("Press ENTER when done speaking...") + input("Recording... Press ENTER when done speaking...") while not q.empty(): file.write(q.get())