Live typing typed the same words four or five times
With live typing on, text sometimes repeated on screen. Long sentences and voice commands like “new paragraph” made it worse.
Why it was hard, what I decided, how AI helped
- Why it was hard
- Whisper keeps revising its guess for the whole sentence while you talk. The app has to work out which characters are already on screen and change only the new ones. The earlier fixes each patched one case and missed another.
- My approach
- I kept reporting each case I hit, and pushed for one root cause instead of more patches.
- How AI helped
- Claude Code found that the app compared raw words with text where voice commands had already been replaced. The match failed, so the whole transcript was typed again. The fix tracks only the most recent window of text, raw against raw.
- The decision
- Replace the logic instead of adding a sixth patch. The final fix removed about 120 lines of matching code.
- Evidence
- commits f7277f1, 8a1b772, 4315586, ccbcde7, 57fbc2a, b765d1f · REGRESSION_TEST_RESULTS.md


