[BUG] Multiple blank spaces are automatically inserted during text input

Status Fixed / completed
Maintainer reply None cached
Activity 6 comments · opened Dec 19, 2025 · closed Dec 19, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

While typing text in Claude Code, the input field intermittently inserts multiple blank spaces automatically.

These extra spaces appear without intentional input and can significantly disrupt text formatting and editing. The issue makes it difficult to write or edit code and plain text accurately.

What Should Happen?

<img width="1574" height="111" alt="Image" src="https://github.com/user-attachments/assets/fc1c8e20-9d44-48aa-83b0-3ec12f565373" />

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code
  2. Click on the text input field
  3. Start typing any text

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.0.73

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

This appears to be a regression. Version 2.0.70 behaves correctly, while newer versions exhibit the unintended whitespace insertion issue.

View original on GitHub ↗

6 Comments

arno-pencil · 8 months ago

I have had this issue all day regardless what i do it produces massive gaps in the text.

<img width="1217" height="796" alt="Image" src="https://github.com/user-attachments/assets/01d82856-b906-4995-bd7d-9dad8296a5d6" />

leon0399 · 8 months ago

The same started happening to me today

<img width="1894" height="450" alt="Image" src="https://github.com/user-attachments/assets/6b0175ac-97e3-4cb8-8822-b84f828b68f9" />

<img width="1892" height="953" alt="Image" src="https://github.com/user-attachments/assets/30a75e4a-29f2-4dad-980d-65853fb1144b" />

Ethorsen · 8 months ago

I have the exact same issue on 2.0.73.

Using mintty on Windows 11

<img width="3300" height="1067" alt="Image" src="https://github.com/user-attachments/assets/630e2539-73ca-4731-b171-669443e77c52" />

magush27 · 8 months ago

The same is happening to me right now using Windows 11 and VS Code using Claude on version 2.0.73

<img width="1154" height="405" alt="Image" src="https://github.com/user-attachments/assets/85911fa5-63d6-4ce4-a517-6965c8dd1a55" />

scperc · 8 months ago

I have the same issue on 2.0.73 using PowerShell and Command Prompt on Windows 11
<img width="1537" height="490" alt="Image" src="https://github.com/user-attachments/assets/0e137675-8602-4b98-9cb4-20281d6339e8" />

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.