claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Broken text alignment and fragmented output rendering in CLI

Open TNYCL opened this issue 1 month ago • 1 comments

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?

Describe the bug When using the Claude Code CLI, the response output suffers from severe formatting issues. Sentences appear fragmented, with random line breaks and erratic indentation. Specifically, parts of the sentences are cut off or start in the middle of the terminal line (e.g., "...dan destekleniyorum"), and subsequent paragraphs are heavily indented without cause.

To Reproduce Steps to reproduce the behavior:

  1. Start a session in the CLI (Windows Terminal / PowerShell).
  2. Enter a simple query (e.g., "sen kimsin" / "who are you").
  3. Observe the streaming response.

Expected behavior The response should be strictly left-aligned and formatted as a coherent text block, similar to standard CLI outputs.

Screenshots Image

Environment (please complete the following information):

  • OS: Windows (deduced from file path syntax)
  • Shell: [PowerShell / CMD / Bash?]
  • Claude Code Version: [Varsa versiyon numarasını buraya yaz]

Additional context It seems like the render engine struggles with terminal width calculation or stream buffering, causing the first few characters of lines to disappear or shift incorrectly. The output "onorepo'sunda..." suggests a cut-off of the word "monorepo".

What Should Happen?

Image

Error Messages/Logs

no error

Steps to Reproduce

.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.0.73

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

TNYCL avatar Dec 20 '25 09:12 TNYCL

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14720
  2. https://github.com/anthropics/claude-code/issues/14599
  3. https://github.com/anthropics/claude-code/issues/14597

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

github-actions[bot] avatar Dec 20 '25 09:12 github-actions[bot]

This issue has been automatically closed as a duplicate of #14720.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 23 '25 09:12 github-actions[bot]