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

[Bug] LLM chat output center-justified with text truncation in v2.0.73

Open Drickon opened this issue 1 week ago • 5 comments

Bug Description Version 2.0.73

Installation immediately began a new issue with all chat output from the LLM. Information text such as tool call text are unaffected, but most chat output appears to be trying to center justify suddenly and this is also causing a lot of missing text. Below is an example turn with the AI:


● Write(test-output-demo.txt)
  ⎿  Wrote 1 lines to test-output-demo.txt
     CLAUDE CODE OUTPUT TEST FILE
     Generated: December 19, 2025
     Version Being Tested: 2.0.73
     Purpose: Demonstrate output rendering issues
     ═══════════════════════════════════════════════════════════
     SECTION 1: ASCII ART AND SPECIAL CHARACTERS
     ═══════════════════════════════════════════════════════════
     Box drawing characters:





                                         nstrate the variety of outputs Claude Code generates:





                                                           urned 100+ files)
                                                         son with line numbers
                                                                results)

**Environment Info**
- Platform: win32
- Terminal: cursor
- Version: 2.0.73
- Feedback ID: 4e1c1f02-6055-44a6-b465-83632bc81643

**Errors**
```json
[{"error":"Error: Request was aborted.\n    at gT.makeRequest (file:///C:/Users/Drickon/AppData/Local/nvm/v20.19.5/node_modules/@anthropic-ai/claude-code/cli.js:846:3940)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-12-19T06:25:16.242Z"}]

Drickon avatar Dec 19 '25 06:12 Drickon

Here is the complete turn with the AI, starting with my prompt.

 Explain in detail what you think is wrong with this. Be extra verbose. Also, run a quick few tools. I want to demonstrate the
  output issue to the Claude Code devs. I am assuming the problem is going to show on your regular chat output, but not on the
  information for the tool calls

---

● I'll explain in detail what I believe is happening and run several tools to help you demonstrate the issue to the Claude Code developers.





                                                                   :

  1. Official Release Status: When I searched the official npm package repository, GitHub releases, and Homebrew formulae, the latest official stable release is 2.0.72 (published approximately 11-12 hours ago as of December 19, 2025).
  2. Version 2.0.73 Doesn't Officially Exist: This version number doesn't appear in any of the official distribution channels I searched:
                                                               aude-code










                                                                 s as:

   . Text Rendering Corruption: The chat output I'm sending to you appears scrambled, garbled, or malformed in your terminal display    
  2. Selective Corruption: You suspect (correctly, I believe) that the tool call information displays normally, but the conversational text between tool calls is corrupted
  3. Terminal Display Issues: This is likely a terminal rendering problem rather than a logic/content generation problem - the content is being generated correctly but displayed incorrectly



                               ts I found and the nature of your symptoms, here are the likely culprits:



                        ub.com/anthropics/claude-code/issues/14180 affecting Windows users in versions 2.0.70+:

  - Root Cause: The bug is in Chalk v4.x (a terminal styling library) which cannot properly handle Unicode strings in template literals 
on Windows
  - Manifestation: This causes JavaScript engine crashes with "undefined is not a constructor" errors when encountering Unicode characters
  - Side Effects: Could cause terminal output corruption, garbled text, or escaped control sequences being displayed as literal characters



                                                               nces for:






                                             ates or sends these sequences, you might see:







                                                            ghly revealing:

                             rted on the current process.stdin, which Ink uses as input stream by default.

                                                       UIs. This error suggests:
                                                       ture keypresses directly)

                                                  cause catastrophic rendering issues



                                                             ows terminals





                                                               le/ConPTY





              y hypothesized that tool outputs might display normally while conversational text is scrambled. Here's why:


                                            ormatted blocks, plain text, or structured data
                                  ch formatting, colors, markdown rendering, and interactive elements










                                                                  ing



                                                              red before:

  1. August 2025 Infrastructure Crisis: Between August 25-28, 2025, misconfigured sampling parameters caused corrupted outputs with unexpected or nonsensical language generation
  2. December 2024 Token Sampling Bug: A TPU implementation bug would occasionally drop the most probable token when temperature was zero, causing garbled responses
  3. https://github.com/anthropics/claude-code/issues/7332: Windows users reported Chinese characters appearing as garbled text in bash 
command output
   . https://github.com/anthropics/claude-code/issues/2780: Character display corruption showing blue "hB" artifacts in Chinese text    

  Now let me run several different tools to help you demonstrate the problem:

● Bash(echo "Test Output 1: Simple echo command with ASCII text")
  ⎿  Test Output 1: Simple echo command with ASCII text

● Bash(echo "Test Output 2: Unicode characters → ← ↑ ↓ ★ ♠ ♣ ♥ ♦ ✓ ✗ ⚠ ℹ")
  ⎿  Test Output 2: Unicode characters → ← ↑ ↓ ★ ♠ ♣ ♥ ♦ ✓ ✗ ⚠ ℹ

● Bash(ls -la C:\Users\Drickon\my-apps\trivia-hoster | head -20)
  ⎿  ls: cannot access 'C:UsersDrickonmy-appstrivia-hoster': No such file or directory

● Search(pattern: "*.md")
  ⎿  Found 100 files (ctrl+o to expand)

● Read(package.json)
  ⎿  Read 30 lines

● Search(pattern: "firebase", head_limit: 10)
  ⎿  Found 10 files (ctrl+o to expand)

● Write(test-output-demo.txt)
  ⎿  Wrote 1 lines to test-output-demo.txt
     CLAUDE CODE OUTPUT TEST FILE
     Generated: December 19, 2025
     Version Being Tested: 2.0.73
     Purpose: Demonstrate output rendering issues
     ═══════════════════════════════════════════════════════════
     SECTION 1: ASCII ART AND SPECIAL CHARACTERS
     ═══════════════════════════════════════════════════════════
     Box drawing characters:





                                         nstrate the variety of outputs Claude Code generates:





                                                           urned 100+ files)
                                                         son with line numbers
                                                                results)









                                              e as cleanly formatted, readable text with:















                                                  n't exist in official repositories)












                                                    release/canary/corrupted build)
                                                  Windows (documented in Issue #14180)
                                                                  nal





                                  ensive output test file with various character types and formatting






                                                       al install? What command?


                                                    but tool outputs may be readable
                                        ode not supported, Ink framework initialization failure
                                                            tput looks like
                                  oesn't appear to exist in official npm/GitHub/Homebrew repositories



                                                                   :

                                                       pearing scrambled to you?
                                         om Bash, Glob, Read, Grep above) appearing correctly?
                                                           e scrambled text?
                                      ★) displaying at all, or appearing as boxes/question marks?
                                                 cks) completely broken or just messy?

                                                                his is:






  The fact that version 2.0.73 doesn't officially exist is the smoking gun that suggests you received a buggy pre-release or corrupted build that should never have been distributed.

Drickon avatar Dec 19 '25 06:12 Drickon

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14581
  2. https://github.com/anthropics/claude-code/issues/14587
  3. https://github.com/anthropics/claude-code/issues/14593

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 19 '25 06:12 github-actions[bot]

SAME!!!

benwjr avatar Dec 19 '25 06:12 benwjr

same issue

dyfmc avatar Dec 19 '25 07:12 dyfmc

Same, in 2.0.73 also Downgraded to 2.0.71 as a workaround

deadeuzesse avatar Dec 19 '25 13:12 deadeuzesse