[BUG] Bash tool output panel does not adapt to VSCode conversation panel width
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?
When Claude executes a Bash tool call in the VSCode extension chat panel, the output block is displayed with a fixed width. When the VSCode side panel is resized to a narrower or wider width, the bash output panel does not reflow or adapt — it either overflows or stays fixed, making wide output (long file paths, tables, log lines) hard to read without horizontal scrolling.
What Should Happen?
The bash output panel width should follow the conversation panel width, reflowing or truncating content accordingly.
Error Messages/Logs
N/A — visual/layout issue with no error output.
Steps to Reproduce
- Open Claude Code in the VSCode side panel
- Ask Claude to run any command with wide output (e.g.
ls -la,df -h, long log lines) - Resize the VSCode side panel to a narrower or wider width
- Observe that the bash output block does not reflow or adapt to the new panel width
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.183 (Claude Code)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
This is specific to the VSCode extension chat panel (not the TUI/terminal mode). The output block appears to have a fixed or max-width CSS property that does not respect the panel's available width. Observed on Linux with VSCode extension v2.1.183.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗