Text output is centered AND truncated on Windows

Resolved 💬 18 comments Opened Dec 19, 2025 by m13v Closed Dec 19, 2025

Text in responses is being centered instead of left-aligned, AND long lines are truncated/cut off instead of wrapping properly.

Problems

  1. Centered text: Content appears centered in the terminal instead of left-aligned
  2. Truncation: Long lines are cut off rather than wrapping to the next line

Environment

  • Windows 11
  • Claude Code v2.0.73
  • Tested on: PowerShell, CMD, Windows Terminal, Git Bash
  • Same behavior across all terminals

What I see

  • Left side has UI components properly aligned
  • Text descriptions/content are centered in the middle of the terminal
  • Long lines get truncated at some arbitrary width instead of wrapping
  • Makes output hard to read and information is lost

Expected

  • All text should be left-aligned like normal CLI output
  • Long lines should wrap to the next line, not be truncated

Screenshot attached shows the centering issue - notice how the text is floating in the center while the UI chrome stays left.

<img width="445" height="261" alt="Image" src="https://github.com/user-attachments/assets/d27eab5f-1692-4b0a-b564-6f8d245f0caa" />

View original on GitHub ↗

18 Comments

rdfitted · 6 months ago

I'm experiencing this too!

There is also missing text if you look at the screenshots

<img width="1598" height="816" alt="Image" src="https://github.com/user-attachments/assets/d50a0052-bb1e-4b96-93df-4a6b639b2f20" />

rdfitted · 6 months ago

I've noticed that it's only on final output. Not on code snippets, or reasoning steps.

jenko · 6 months ago

Same here,
Windows 11, git bash

<img width="1420" height="206" alt="Image" src="https://github.com/user-attachments/assets/31e50640-cf26-47eb-b500-5cc16f7f6fe1" />

SherlockianAsh · 6 months ago

I'm having the same issue too. Already trouble shoot with PowerShell, VS Code terminal, Claude Code extension, and CMD

<img width="1919" height="1038" alt="Image" src="https://github.com/user-attachments/assets/48438433-97be-4208-a555-72b9be12c476" />
<img width="1077" height="1881" alt="Image" src="https://github.com/user-attachments/assets/383365b1-f793-4227-87f8-31c1169133ff" />
<img width="832" height="1779" alt="Image" src="https://github.com/user-attachments/assets/99b0c882-801e-45d0-93b9-6c4f57a3a3de" />

bahayonghang · 6 months ago

<img width="2560" height="1528" alt="Image" src="https://github.com/user-attachments/assets/27facd91-e17c-4f76-b2a2-a2159816b6af" />

Same here on Windows (Claude Code v2.0.73): the main response text is centered with large blank margins, and parts of the output become invisible or clipped. As a workaround, I removed the npm-based installation and reinstalled Claude Code using the official native installer scripts, pinning to version 2.0.65. For Windows PowerShell, I used the documented install.ps1 entry point to install that specific version, and after installing v2.0.65 via the native installer the output renders normally again in Windows Terminal with PowerShell 7.​

m13v · 6 months ago

my workaround is a claude md rule to always output response to a specific
text file, haha

On Thu, Dec 18, 2025 at 10:33 PM 李永航 @.***> wrote:

bahayonghang left a comment (anthropics/claude-code#14581) <https://github.com/anthropics/claude-code/issues/14581#issuecomment-3673742876> image.png (view on web) <https://github.com/user-attachments/assets/27facd91-e17c-4f76-b2a2-a2159816b6af> Same here on Windows (Claude Code v2.0.73): the main response text is centered with large blank margins, and parts of the output become invisible or clipped. As a workaround, I removed the npm-based installation and reinstalled Claude Code using the official native installer scripts, pinning to version 2.0.65. For Windows PowerShell, I used the documented install.ps1 entry point to install that specific version, and after installing v2.0.65 via the native installer the output renders normally again in Windows Terminal with PowerShell 7.​ — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/14581#issuecomment-3673742876>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AY62CDFGPMIGA6GS2IQB43D4COL3JAVCNFSM6AAAAACPP625KGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNZTG42DEOBXGY> . You are receiving this because you authored the thread.Message ID: @.***>
bahayonghang · 6 months ago
my workaround is a claude md rule to always output response to a specific text file, haha […](#)

Because I don’t need the features from the latest few versions for now, I’ve decided to roll back to version 65 after checking the changelog, and I’ll update again once the issue is fixed.

solosza · 6 months ago

im having the same issue. it started about 6pmish pacific.

ilkerarslan · 6 months ago

Same here

<img width="1600" height="934" alt="Image" src="https://github.com/user-attachments/assets/289f0ae8-c2ae-4b33-862c-687b9eefa8f4" />

solosza · 6 months ago
Same here <img alt="Image" width="1600" height="934" src="https://private-user-images.githubusercontent.com/24495648/528511507-289f0ae8-c2ae-4b33-862c-687b9eefa8f4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjYxMzE3OTYsIm5iZiI6MTc2NjEzMTQ5NiwicGF0aCI6Ii8yNDQ5NTY0OC81Mjg1MTE1MDctMjg5ZjBhZTgtYzJhZS00YjMzLTg2MmMtNjg3YjllZWZhOGY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjE5VDA4MDQ1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2YzNiMjE1OTU0NjcxYTFjM2FhMzJlMTJhNzVjNjVlNzU0YjZiOTQ5NDJjMjI0ZGRjN2FiYjM4YjVlZjI3OTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6jUbjdt5yPISjU-lfG5s6UKCSx8XJscUNxU3UuaNBjs">

a commenter above suggested a workaround where you rollback to v2.0.65 for now until a fix comes out. i just did it and i no longer see the issue.

charmenlondon-cmd · 6 months ago

Had the same issue when my instance auto updated to v2.0.73. Rolled back to v2.0.72 and it's working ok.

deadeuzesse · 6 months ago

Same, in 2.0.73 also
Downgraded to 2.0.71 as a workaround

david-cilluffo · 6 months ago

I had the same issue. I rolled back to 2.0.72 and it's working again:

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

Niels-LNS-Research · 6 months ago

Before you downgrade, verify if you run Claude Code natively by running:

claude doctor

If you are running npm, then following the instructions above that other users have recommended. If you are running natively, then follow these instructions:

# 1) Close any running Claude Code sessions first.

# 2) Install a specific version (2.0.72)
& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 2.0.72

# 3) Verify
claude -v
claude doctor

You should see something like this:

 Diagnostics
 └ Currently running: native (2.0.72)
 └ Path: native
 └ Invoked: C:\Users\xxxxxxxxxx\.local\bin\claude.exe
 └ Config install method: native
 └ Auto-updates: enabled
 └ Search: OK (bundled)

You then have to disable auto-updates.

Option A — disable for this PowerShell session only

$env:DISABLE_AUTOUPDATER = "1"
claude

Option B — disable persistently for your Windows user

[Environment]::SetEnvironmentVariable("DISABLE_AUTOUPDATER","1","User")
# restart PowerShell after this

Option C — disable via Claude Code user settings (recommended if you already manage settings there)

User settings file is ~/.claude/settings.json (Windows: $env:USERPROFILE\.claude\settings.json).
Claude

Add/merge:

{
  "env": {
    "DISABLE_AUTOUPDATER": "1"
  }
}
nsxdavid · 6 months ago

I truly don't mean to be obnoxious, and I know we are all AI vibin' these days, but some old-school software engineering techniques such as unit tests, regression tests and such still hold their same value. And I know it's not the cool Silicon Value way of doing things, but maybe have at least some team members rock Windows instead of a Mac or Linux so as to catch these things before the rest of the world.

jenko · 6 months ago
I truly don't mean to be obnoxious, and I know we are all AI vibin' these days, but some old-school software engineering techniques such as unit tests, regression tests and such still hold their same value. And I know it's not the cool Silicon Value way of doing things, but maybe have at least some team members rock Windows instead of a Mac or Linux so as to catch these things before the rest of the world.

Yeah, I had the same thought, kind of shocked that a version with such an intrusive error got through testing.

Niels-LNS-Research · 6 months ago
I truly don't mean to be obnoxious, and I know we are all AI vibin' these days, but some old-school software engineering techniques such as unit tests, regression tests and such still hold their same value. And I know it's not the cool Silicon Value way of doing things, but maybe have at least some team members rock Windows instead of a Mac or Linux so as to catch these things before the rest of the world.

There must have been 0 testing on Windows prior to release. Quite shocking, given that there is even a native Windows build. The developers wouldn't even need to run Windows to catch this; it could just be done as an automated build test.

github-actions[bot] · 6 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.