[BUG] JetBrains/PyCharm shows cursor when it does not have focus
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?
When using the JetBrains/PyCharm Claude plugin, it always displays a block cursor regardless of whether or not the window has focus. I see it and start typing Claude prompts into whatever window actually does have focus, corrupting my source files.
This violates decades of computing precedent - a cursor is the WAY that you tell who has focus. In the screenshot attached, there are TWO cursors. How am I supposed to know which one is real?
What Should Happen?
Only display the block cursor if the Claude window has focus.
Error Messages/Logs
Steps to Reproduce
- Open a PyCharm project
- Open the Claude window
- Click on a source file
- Get confused by there being two cursors
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.22
Platform
Other
Operating System
macOS
Terminal/Shell
PyCharm terminal
Additional Information
<img width="932" height="775" alt="Image" src="https://github.com/user-attachments/assets/7b69e827-5643-4cc3-9db1-16e9a282a718" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗