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

[Bug] Excessive whitespace tokens and incomplete sentences in conversation display

Open haefele opened this issue 1 month ago • 1 comments

Bug Description What is happening with thie converation? I have A LOT of whitespace tokens, and the sentences are incomplete. Maybe just a display bug? Or multi-lingual issue? Idk, but it looks very weird and didn't happen the last days at all. Just today.

Environment Info

  • Platform: win32
  • Terminal: visualstudio
  • Version: 2.0.73
  • Feedback ID: 4f4b0518-5fa2-4d2a-8c18-1051228a045e

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:441:20)\n    at file:///C:/Users/haefe/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n    at rI (file:///C:/Users/haefe/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n    at Object.readFileSync (file:///C:/Users/haefe/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n    at kcB (file:///C:/Users/haefe/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n    at Object.call (file:///C:/Users/haefe/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n    at am5 (file:///C:/Users/haefe/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)\n    at runNextTicks (node:internal/process/task_queues:65:5)\n    at process.processImmediate (node:internal/timers:453:9)\n    at process.topLevelDomainCallback (node:domain:161:15)","timestamp":"2025-12-19T12:33:28.636Z"}]

haefele avatar Dec 19 '25 13:12 haefele

same issues here

That will switch you to Opus 4.5 immediately.

Now I see a lot of blank space and a final line "That will switch you to Opus 4.5 immediately." What is "that"? And what was I supposed to read above and is not displayed? And how to
display it?

The display bug you're experiencing might be a Claude Code rendering issue. You could try scrolling up in the terminal to see if the text is there but not visible in the current view.

Yes, it looks like a serious Claude Code rendering issue that makes it unusable. I've tried scrolling and I don't see any additional text

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────> Try this: type /clear and press Enter. If that does not work, restart Claude Code by typing exit then relaunch with claude command. Report bug at github.com/anthropics/claude-code/issues
with details: Windows system, only last line visible, rest is blank space.

scr53005 avatar Dec 19 '25 13:12 scr53005

same issues here

That will switch you to Opus 4.5 immediately.

Now I see a lot of blank space and a final line "That will switch you to Opus 4.5 immediately." What is "that"? And what was I supposed to read above and is not displayed? And how to display it?

The display bug you're experiencing might be a Claude Code rendering issue. You could try scrolling up in the terminal to see if the text is there but not visible in the current view.

Yes, it looks like a serious Claude Code rendering issue that makes it unusable. I've tried scrolling and I don't see any additional text

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────> Try this: type /clear and press Enter. If that does not work, restart Claude Code by typing exit then relaunch with claude command. Report bug at github.com/anthropics/claude-code/issues with details: Windows system, only last line visible, rest is blank space.

this is not a solution, there seems to be something broken on their side, since many people have this issue.. and they need to fix it

weto4ka avatar Dec 19 '25 16:12 weto4ka