[BUG] `claude -c` and `claude --resume <session-id>` freeze on Windows - input completely unresponsive after session loads
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?
Summary
claude -c (and claude --continue) and claude --resume <session-id> freeze completely on Windows after loading the previous session. The session content loads and displays correctly, but the input field becomes completely unresponsive — no typing, no Ctrl+C, nothing works. The only way to exit is force-killing the process via Task Manager.
However, claude --resume (interactive picker without session ID) works perfectly fine and allows normal input after loading the same session.
Environment
- Claude Code version: 2.1.37 (latest)
- OS: Windows 11
- Terminal: PowerShell 7.5.4
- Plan: Claude Max (Opus 4.6)
- Installation*: Native installer (not npm)
Steps to Reproduce
- Open PowerShell
- Run
claudein any directory - Type
hello, get a response - Run
/exitto quit normally - Run
claude -c - Session loads correctly (previous messages displayed)
- Input is completely frozen — cannot type anything, Ctrl+C does not work
- Must force-kill process from Task Manager
What Works vs What Doesn't
| Command | Result |
|---------|--------|
| claude (new session) | ✅ Works |
| claude --resume (interactive picker) | ✅ Works |
| claude -c / claude --continue | ❌ Freezes after loading session |
| claude --resume <session-id> | ❌ Freezes after loading session |
Troubleshooting Already Attempted
- Killed all Claude processes before retrying
- Deleted
$env:USERPROFILE\.claude\projects,sessions, and.lockfiles - Tested in a completely different/clean directory (not a project folder) — same result
- Confirmed this is NOT directory-specific — happens globally
- Tried
claude -c --verbose— session loads with token count (24547 tokens) but input still frozen
Related Issues
- #7426 —
claude --continuefreezes - #7455 — Freezing issues with
--continueand--resumeafter Ctrl+C on Windows
What Should Happen?
claude -c and claude --resume <session-id> should load the previous session AND allow normal text input, just like claude --resume (interactive picker) does. All three methods should behave consistently.
Error Messages/Logs
No error messages produced. The session loads successfully (previous messages displayed, token count shown as 24547 tokens in verbose mode), but the terminal input becomes completely unresponsive. No crash, no error output — just a silent input freeze.
Steps to Reproduce
- Open PowerShell 7.5.4 on Windows 11
cdto any directory (tested on both project and clean directories)- Run
claude - Type
helloand receive a response - Type
/exitto quit normally - Run
claude -c - Observe: session loads correctly, previous messages are displayed
- Try to type anything — input is completely frozen, no characters appear
- Ctrl+C does not work — must force-kill via Task Manager
Alternative reproduction with --resume:
- After step 5, note the session ID from the output
- Run
claude --resume <session-id> - Same freeze behavior occurs
Working workaround:
- Run
claude --resume(without session ID) - Select the session from the interactive picker
- Input works normally
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.29
Claude Code Version
2.1.37 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
PowerShell 7.5.4
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗