[BUG] Truncated output in Vs code terminal

Resolved 💬 4 comments Opened Dec 19, 2025 by Sushrut-01 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 ↗

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