[BUG] Claude Code always displays the full Bash tool prompt in Windows WSL (Ubuntu 24.04)

Resolved 💬 3 comments Opened Aug 25, 2025 by katio Closed Sep 1, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API (Claude Code using plan Pro)
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.90 (Claude Code)
  • Operating System: Windows 11 -> WSL (Ubuntu 24.04.1 LTS)
  • Terminal: WSL default terminal for Ubuntu 24

Bug Description

For several weeks, I've been experiencing this issue: when using Claude Code and Claude decides to use bash commands or when I ask it to do so, it shows me the full prompt (a very long one) of the bash tool. See image:

<img width="1889" height="848" alt="Image" src="https://github.com/user-attachments/assets/bc492814-149d-406e-9578-07f4bdd8618c" />

I even uninstalled (uninstall -g @anthropic-ai/claude-code) and reinstalled (npm install -g @anthropic-ai/claude-code) Claude Code and the same issue persists.

Steps to Reproduce

  1. Open claude code with claude
  2. Ask claude to use some bash commands

Expected Behavior

  1. Only the bash command should appear with approval request.

Actual Behavior

  1. The full prompt of the bash tool appears along with the approval request at the bottom. I have to scroll up several times to see the command (see image above, this happens to me all the time).

View original on GitHub ↗

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