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

[BUG] PowerShell: Text rendering issues - invisible text and excessive input field height

Open youys90 opened this issue 11 months ago • 9 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?

Two UI rendering issues when running Claude Code in PowerShell:

  1. Invisible/partial text in Claude's responses

    • Claude's response text is mostly invisible
    • Only some characters appear intermittently
    • Makes responses unreadable
  2. Input field height bug

    • The input field's background/highlight area is excessively tall
    • Even short single-line messages show highlight spanning 2 lines
    • 2-line messages show 4-line highlight, and so on
    • The highlight area is always double the actual text height

What Should Happen?

  1. All of Claude's response text should be fully visible and readable
  2. Input field highlight/background should match the actual text height (1 line of text = 1 line of highlight)

Error Messages/Logs

No error messages. This is a visual/UI rendering issue.

Steps to Reproduce

  1. Open PowerShell on Windows
  2. Run claude to start Claude Code
  3. Type any message and press Enter
  4. Observe:
    • Claude's response text is partially invisible (only some characters visible)
    • The input field's highlight area is twice the height of actual text
  5. Type a 2-line message
  6. Observe: The highlight area spans 4 lines instead of 2

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.73

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

  • Windows 11
  • Claude Code version: 2.0.73
  • The issue does NOT occur in Git Bash or VSCode integrated terminal
  • Only occurs in PowerShell
  • Tried both Windows PowerShell and PowerShell 7, same issue
Image

youys90 avatar Dec 19 '25 08:12 youys90

Seeing the same issue - Claude Code completely unusable 2.0.73. Is this not being tested on Windows?

Image

angeloprado avatar Dec 19 '25 08:12 angeloprado

Image

same error can't use at the moment on Windows 11

barturker avatar Dec 19 '25 08:12 barturker

我也遇到了同样的问题,有时候claude code在使用bash命令的时候,会重复渲染很多行

laodouuu avatar Dec 19 '25 09:12 laodouuu

Same here

Image

Haroong avatar Dec 19 '25 09:12 Haroong

Confirm the same on Win11/PS7

Image

gizim79 avatar Dec 19 '25 09:12 gizim79

+1 to this, I have same issue. Had to downgrade to 2.0.72, seems to work fine there. Windows 11 PRO (with latest updates), UTF-8 language etc.

Seems to be happening with 2.0.73

Can confirm issue seems to be visual as seen from previous screenshots. If I pipe to a file or ask it to write a file, file contents are correct.

Happens in windows powershell / cmd

Baldurans avatar Dec 19 '25 09:12 Baldurans

Confirm issue persists throughout PS7, CMD, and Git Bash. Will try to downgrade.

gizim79 avatar Dec 19 '25 09:12 gizim79

+1 Same issue.

Roritharr avatar Dec 19 '25 09:12 Roritharr

temporary solve the problem: npm install -g @anthropic-ai/[email protected]

nvi-nsi avatar Dec 19 '25 13:12 nvi-nsi

confirmed on WezTerm Win 11 - exactly the same rendering problems

108adams avatar Dec 19 '25 19:12 108adams

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.

github-actions[bot] avatar Dec 27 '25 14:12 github-actions[bot]