[BUG] Interactive TUI hangs after trust prompt on Windows -- regression between 2.1.58 and 2.1.69

Resolved 💬 4 comments Opened Mar 5, 2026 by matteso1 Closed Apr 2, 2026

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?

After selecting "Yes, I trust this folder" at the workspace trust prompt, Claude Code hangs indefinitely. The checkmark appears next to the selection but the REPL never loads. No error message, no output, no debug logs. The freeze is so severe that Ctrl+C does not terminate the process. force-quitting via Task Manager is required. Non-interactive mode (claude -p "...") works perfectly -- this is isolated to the interactive TUI.

Manually downloading the 2.1.58 binary and replacing claude.exe immediately fixes the issue. As soon as auto-update pulls a newer version, the hang returns.

What Should Happen?

After selecting "Yes, I trust this folder," the interactive REPL should load and accept input.

Error Messages/Logs

No error messages or logs produced. stderr redirect (`claude 2> err.txt`) produces an empty file. `$env:CLAUDE_CODE_DEBUG="1"` produces no log files in `~/.claude/logs` or `$env:TEMP/claude`. `claude doctor` passes all checks. `claude auth status` shows logged in with Max subscription.

Steps to Reproduce

  1. Install Claude Code 2.1.69 on Windows via native installer (irm https://claude.ai/install.ps1 | iex)
  2. Open any terminal (PowerShell 7.5.4, cmd.exe, or Git Bash — all affected)
  3. Navigate to a git-initialized directory
  4. Run claude
  5. Select "Yes, I trust this folder"
  6. Observe: checkmark appears, then nothing. Hangs indefinitely.

Ruled out as causes:

  • No .mcp.json files anywhere (verified with recursive search)
  • Hang persists with entire ~/.claude/ directory renamed (fresh config)
  • Hang persists in a brand new git init directory
  • Reproduced in PowerShell 7.5.4, cmd.exe, Git Bash, and pwsh -NoProfile
  • claude -p "say hello" works fine (API/auth confirmed working)

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.58

Claude Code Version

2.1.69

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Regression confirmed by manually replacing the binary:

  • Downloaded 2.1.58 from storage.googleapis.com/.../2.1.58/win32-x64/claude.exe
  • Replaced ~/.local/bin/claude.exe → interactive TUI works immediately
  • Auto-update restores 2.1.69 → hang returns

Hardware: Lenovo Legion Pro 7, i9-13900HX, 32GB RAM, Windows 11
Binary path: C:\Users\nilsm\.local\bin\claude.exe
Install method: native

Related issues: #18109, #6823, #24584

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗