[BUG] Broken text alignment and fragmented output rendering in CLI
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:
- Start a session in the CLI (Windows Terminal / PowerShell).
- Enter a simple query (e.g., "sen kimsin" / "who are you").
- 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
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?
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
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/14720
- https://github.com/anthropics/claude-code/issues/14599
- 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
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