[BUG] Not able to type the prompt into the input
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?
The prompt I typed is not filled into the CLI input, instead of it goes to the red box position (1st image). It will wrap the line after "Enter" pressed and not execute the prompt( 2nd image).
What Should Happen?
Should allow me type the prompt and generate the code.
Error Messages/Logs
Steps to Reproduce
- Run 'Claude" at terminal
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
1.0.112 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/5491
- https://github.com/anthropics/claude-code/issues/5910
- https://github.com/anthropics/claude-code/issues/6943
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and π the existing issue instead
- To prevent auto-closure, add a comment or π this comment
π€ Generated with Claude Code
I have the same issue on Ubuntu 25.10 using the Ptyxis terminal. Interestingly, it was working fine before, but even after rolling back to previous versions, the problem persists. I'm getting really frustrated because I can't use Claude Code. I also tried installing GNOME Terminal, but it had the same issue.
This happens to me with Alacritty on Arch too.
Here's a recording with a keyboard overlay to show just how badly unusable this is, in case this helps.
https://github.com/user-attachments/assets/ba5794a9-8ec0-4244-8b53-b7a22d0ef026
In this recording, I'm using fish on alacritty, although I have replicated this on zsh, terminator, and ghostty as well.
@catherinewu As discussed, I spent some time this morning bisecting Claude Code versions, and it looks like 2.0.53 is the earliest version where this bug occurs (i.e. 2.0.52 is the latest version of Claude Code that actually works on my computer).
For anyone else who stumbles on this issue and needs a workaround, here's how you can downgrade:
- Claude Code installs every version of itself locally in your computer, and then uses
claudeas a symlink to point to the latest version. You can find where your versions directory is usingls $(which claude). - You'll need to remove every version of
claudethat is more recent than2.0.52from yourversionsdirectory. This is because when you runclaude, it updates the symlink to point to the latest installedclaudeversion so that you get the latest Claude Code the next time you start a session. - You can then install
2.0.52by passing an explicit target version to the install script (curl -fsSL https://claude.ai/install.sh | bash -s -- 2.0.52) and redirect theclaudesymlink.
Okay, actually something even stranger is happening here. It seems like this bug only happens sometimes. I just tried running 2.0.65 a bunch of times in a row, and I encountered this bug the first 4 times and then the prompt succeeded in capturing my cursor the 5th time. Maybe it's some sort of race condition on startup?
@catherinewu I've got a reliable reproduction for you!
I've discovered some truly baffling behavior: claude accepts input only if I have typed input between the time when I first run the command and the time when the prompt becomes available. Otherwise, Claude Code is completely unusable with no indication of what's broken.
I've attached a recording with a keyboard overlay in case you want to see for yourself:
https://github.com/user-attachments/assets/b576625d-88ad-477d-bd9e-6e541e1e0dab
I'm on Arch, running Claude 2.0.70. Here's my claude doctor output:
β claude doctor
Diagnostics
β Currently running: native (2.0.70)
β Path: /home/eliza/.local/bin/claude
β Invoked: /home/eliza/.local/share/claude/versions/2.0.70
β Config install method: native
β Auto-updates: enabled
β Search: OK (bundled)
Press Enter to continueβ¦