[BUG] "Interactive mode freezes on Windows - no input response after initial setup"
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.105 (Claude Code)
- Operating System: Windows 10.0.26100.4946
- Terminal: Command Prompt, PowerShell, Windows Terminal (all tested)
Bug Description
Interactive mode becomes completely unresponsive after initial setup. After accepting permissions and reaching the main Claude Code interface, the terminal freezes and no longer accepts any input. The interface appears functional (shows welcome message and input field) but is completely non-interactive. This renders the primary Claude Code workflow (drag-and-drop files, interactive sessions) unusable.
Steps to Reproduce
- Install Claude Code using either
npm install -g @anthropic-ai/claude-codeor native Windows installer - Navigate to project directory:
cd /d "C:\path\to\project" - Run
claudecommand - Accept security permissions (choose option 1: "Yes, proceed")
- Wait for main interface to load with welcome message and input field
- Attempt to type any command or input
Expected Behavior
After accepting permissions, the Claude Code interface should be fully interactive, allowing users to:
- Type commands and questions
- Drag and drop files for analysis
- Navigate through multi-turn conversations
- Use all interactive features as designed
Actual Behavior
The interface loads and displays correctly but becomes completely unresponsive to input:
- Cursor appears in input field but typing produces no visible text
- Keyboard shortcuts (Tab, Ctrl+L, etc.) have no effect
- Drag and drop functionality is non-functional
- Only way to exit is by closing the entire terminal window
- Interface appears visually correct but is entirely frozen
Additional Context
Extensive troubleshooting attempted:
- Multiple installation methods: npm global install, native Windows installer, migration between methods
- Multiple terminal environments: Command Prompt, PowerShell, Windows Terminal
- Administrator privileges tested
- Various compatibility flags attempted:
--no-color,--permission-mode bypassPermissions - PATH configuration verified and corrected multiple times
Key findings:
claude --versionandclaude --helpwork correctlyclaude -p "prompt"mode works perfectly (non-interactive)- Issue appears related to stuck Bun processes (observed via Task Manager)
- Interactive mode works briefly if started from specific project directories but fails consistently in new terminals
- Problem persists across clean reinstalls and different installation methods
Working workaround:
Non-interactive mode (claude -p "prompt") functions correctly, but this eliminates core functionality like file uploads, drag-and-drop, and multi-turn conversations.
Impact:
This completely blocks the intended Claude Code workflow for users who need to upload large files or work iteratively with their codebase. The issue makes Claude Code essentially unusable for its primary use case on Windows systems experiencing this bug.
System specifications:
- Node.js: v22.18.0
- npm: 10.9.3
- Windows Terminal: Latest version
- No unusual terminal enhancement software installed
15 Comments
UPDATE - Issue Resolved: Root Cause Analysis and Critical Diagnostic Bug Found
Resolution Summary
The interactive mode freezing issue has been resolved, but the troubleshooting process revealed a critical bug in Claude Code's diagnostic messaging system that provides incorrect troubleshooting advice to users.
Timeline of Events
Root Cause Identified
The issue was environmental/configuration conflicts, not a software bug in v1.0.105:
CRITICAL BUG: Incorrect Diagnostic Messages
Claude Code's own diagnostic system provides harmful troubleshooting advice.
When experiencing issues, Claude Code consistently displays:
This advice is counterproductive:
.local\bincontained the problematic/corrupted installation causing freezingC:\Users\aagui\AppData\Roaming\npmHow Auto-Update Fixed the Issue
The auto-update process appears to include cleanup functionality that:
This suggests v1.0.105 itself was never the problem - corrupted installation state was the culprit.
Impact on Other Users
High impact bug: Users experiencing similar freezing issues may:
Recommendations
For Users Experiencing Freezing:
.local\binPATH advice if experiencing issuesbun.exeorclaude.exeprocesses and kill themFor Development Team:
Technical Environment
@anthropic-ai/claude-code)Current Status
The troubleshooting process revealed this is primarily a configuration/diagnostic issue rather than a core software bug, but the incorrect diagnostic messaging represents a significant usability problem that should be prioritized for fixing.
Experiencing the exact same issue. Claude Code periodically freezes so severely that it's impossible to even type characters from the keyboard. The lag is unbearable - keystrokes take several seconds to register, making the
tool practically unusable during these freeze periods.
This happens randomly but frequently throughout sessions, regardless of project size or complexity. The freezing affects all input, not just @ script references.
Additionally, there's no way to exit with ESC after successfully creating a subagent - the interface becomes unresponsive and you have to wait for it to timeout or force close the terminal.
Windows 10, latest Claude Code version 1.0.105 - 1.0.107. The performance degradation is severe enough to significantly impact productivity.
Take a look at my second reply and see if this works for you. Use web based claude to help you troubleshoot. I tried rolling back to 1.0.102 and disabling auto update then it still auto updated to 1.0.105 but then everything worked. For some reason with the auto update, claude code is running off of bun instead of node.js which messed everything up.
Can you share more info about your confoigurations? Thanks in advance!
I think this happens on native windows due to it spamming terminal control sequences to clear it, making it completely unusable most of the time a new session is started for up to a minute or so. Frustrating doesn't even begin to describe how utterly annoying this is. Win11, running on a regular vscode terminal (not via extension). I think there needs to be an option to disable clearing the terminal when starting a session. For now I'm forced to keep at least one session around and manage it with /clear. This has always happened since non-wsl windows support was released, and regardless of installation method.
The reason I think it's due to terminal control sequences is because it's not just freezing, but when it starts working again the input buffer is full of invisible or whitespace characters that i have to either delete or ctrl+c to remove, and whatever you type gets added at the end, hidden.
Im encountering the same issue now.
Running version 1.0.109 on a win11 (native install), when launching claude code (via windows terminal, ide terminal, vscode cc extension) i cannot type anything in the input box. only way that is working atm for me is to run claude code with the skip dangerous command..
Have the same problem:
Running version 1.0.110 on a win11 (native install), when launching claude code (via windows terminal, ide terminal, vscode cc extension) i cannot type anything in the input box.
Still reproducing this here. the install delivered by npm install -g @anthropic-ai/claude-code works fine, but it looks like auto-update or claude desktop or something is deploying this "native" version to c:\users\name\\.local, and that freezes up. Renaming the subfolders here forces it to use the npm version and work correctly, but it still complains on startup that "installMethod is native"
Okay I currently cant use claude code whatsoever even with running a subfolder to focus the load. Claude code is now completely unusable.
You can try to hit Enter before entering any data, it works for me.
You can update your
%UserProfile%\.claude.jsonfile's installMethod to "global" if you do not want the warning text about native installation.Update: We've got a fix coming in 1.0.118. Alternately, temporarily downgrade to 1.0.113.
Resolved in 1.0.119
For me this was fixed everywhere except in vscode terminals on windows (when connected via remote ssh it works just fine). Seems slightly better, but still spam of invisible characters on launch that you have to delete to be able to type anything, often completely unresponsive especially after continuing a session.
First vid is with a fresh terminal, second is with a terminal that already had some input. If the terminal buffer had anything before starting claude, it gets a lot worse (notice the "? for shortcut" missing in the second video after the first response, which indicates that there's some input already). I think it might be interpreting backspace as a character rather than being invisible characters in the buffer? idk
Current version: 1.0.126
https://github.com/user-attachments/assets/235ac758-7194-4627-adda-25cc8a541bc8
https://github.com/user-attachments/assets/1f20145a-5152-4615-bf4d-f084c0351bd9
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.