Preflight Checklist
What's Wrong?
While Claude Code was displaying a diff/edit view inside PyCharm's integrated terminal, the UI showed several visual artifacts simultaneously:
- A large I-beam cursor floating mid-screen, overlapping the code content
- Red diff highlighting bleeding incorrectly across multiple lines
- General visual corruption in the diff area during an active agentic edit
Environment
| Field |
Value |
| Claude Code version |
2.1.220 (Claude Code) |
| OS |
Windows 11 24H2 |
| Terminal |
PyCharm built-in integrated terminal |
| Shell |
[PowerShell 7.6.4 |
What Should Happen?
Clean diff rendering with no overlapping cursor or bleeding highlights.
Actual Behavior
See attached screenshot.
Related Issues
Similar to #20627 and #22076, but those are specific to Windows Terminal / cmd.exe. This occurs in PyCharm's terminal specifically during diff rendering.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code inside PyCharm's integrated terminal
- Let Claude Code enter auto mode and begin editing a file
- Observe the diff view — artifacts appear in the highlighted region
NOTE: It didn't happen every time I did with these Steps. So it only happened ONE TIME. I still don't know how it happened tho
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.220 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PyCharm terminal
Additional Information
Image of it looking broken:

Preflight Checklist
What's Wrong?
While Claude Code was displaying a diff/edit view inside PyCharm's integrated terminal, the UI showed several visual artifacts simultaneously:
Environment
What Should Happen?
Clean diff rendering with no overlapping cursor or bleeding highlights.
Actual Behavior
See attached screenshot.
Related Issues
Similar to #20627 and #22076, but those are specific to Windows Terminal / cmd.exe. This occurs in PyCharm's terminal specifically during diff rendering.
Error Messages/Logs
Steps to Reproduce
NOTE: It didn't happen every time I did with these Steps. So it only happened ONE TIME. I still don't know how it happened tho
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.220 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PyCharm terminal
Additional Information
Image of it looking broken: