[BUG] Truncated output in Vs code terminal

Status Fixed / completed
Reported on v2.0.73
Maintainer reply None cached
Activity 4 comments · opened Dec 19, 2025 · closed Dec 19, 2025

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?

[REPORT-BUG-HERE.txt

BUG-REPORT.txt

](https://github.com/user-attachments/files/24260397/REPORT-BUG-HERE.txt)

What Should Happen?

BUG-REPORT.txt
====================================================================
REPORT CLAUDE CODE BUG HERE
====================================================================

STEP 1: Open your web browser

STEP 2: Copy and paste this URL:
https://github.com/anthropics/claude-code/issues/new

STEP 3: Click "New Issue" button (green button)

STEP 4: Type this as title:
Text rendering broken in Git Bash on Windows - only 3 lines visible

STEP 5: In description box, copy from BUG-REPORT.txt file

STEP 6: Attach screenshot of the broken screen

STEP 7: Click "Submit new issue"

====================================================================
DIRECT LINK:
https://github.com/anthropics/claude-code/issues/new
====================================================================

Error Messages/Logs

Steps to Reproduce

====================================================================
STEPS TO REPRODUCE THE BUG
====================================================================

ENVIRONMENT:

  • OS: Windows 10/11
  • Terminal: Windows Terminal + Git Bash
  • Claude Code Version: 2.0.73 (npm global install)
  • Shell: Git Bash (from Git for Windows)

====================================================================

STEPS TO REPRODUCE:

  1. Install Claude Code via npm:

npm install -g @anthropic-ai/claude-code

  1. Open Windows Terminal
  1. Select Git Bash profile
  1. Run command:

claude

  1. Send any message to Claude
  1. Observe the response

====================================================================

EXPECTED RESULT:

  • All text should be visible and properly formatted
  • Markdown should render correctly
  • Multiple lines should all be visible
  • Text should wrap properly to terminal width

====================================================================

ACTUAL RESULT:

  • Only 3 lines visible out of many
  • Text appears mangled and cut off mid-word
  • Markdown formatting broken
  • Bullet points broken
  • Text wrapping completely broken
  • Terminal width detected as 80 columns even when window is wider
  • COLUMNS and LINES environment variables are empty

====================================================================

ADDITIONAL INFO:

Git Bash reports:

  • TERM=xterm-256color
  • COLUMNS=(empty)
  • LINES=(empty)
  • tput cols returns: 80
  • Actual terminal window is much wider

Claude Code seems to default to 80 column width when Git Bash
doesn't properly report terminal dimensions.

====================================================================

WORKAROUND THAT WORKS:
Use claude.ai in web browser instead of terminal version

====================================================================

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.74

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 9 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14698
  2. https://github.com/anthropics/claude-code/issues/14678
  3. https://github.com/anthropics/claude-code/issues/14694

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

Niels-LNS-Research · 9 months ago

Could this be a duplicate of #14554

leonardschneider · 9 months ago

Downgrading to 2.0.60 fixed it for me.

& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 2.0.60
github-actions[bot] · 9 months ago

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.