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

Unstable Terminal UI: Unexpected Scroll Jumps Disrupting Code View

Open Iydah opened this issue 6 months ago • 2 comments

Bug Description UI keeps randomly teleporting up and down constantly making it so i couldn't see any code :( it was like scrolling up and down randomly to random places in my terminal

Environment Info

  • Platform: linux
  • Terminal: cursor
  • Version: 1.0.35
  • Feedback ID: e13f06c8-de66-484c-9f83-6356ff6bd861

Errors

[{"error":"Error: String not found in file. Failed to apply edit.\n    at sO (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1610:728)\n    at C1A (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1610:104)\n    at Object.renderToolUseRejectedMessage (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1620:3404)\n    at MR2 (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:2844)\n    at uE (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n    at tT (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n    at rT (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n    at _$ (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n    at YU (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:37886)\n    at oW (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:34976)","timestamp":"2025-06-26T19:15:44.812Z"},{"error":"Error: String not found in file. Failed to apply edit.\n    at sO (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1610:728)\n    at C1A (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1610:104)\n    at Object.renderToolUseRejectedMessage (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1620:3404)\n    at MR2 (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:2844)\n    at uE (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n    at tT (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n    at rT (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n    at _$ (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n    at YU (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:37886)\n    at oW (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:34976)","timestamp":"2025-06-26T19:17:53.432Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 210053 tokens > 200000 maximum\"}}\n    at Z5.generate (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1299:12578)\n    at Jq.makeStatusError (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1314:2100)\n    at Jq.makeRequest (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1314:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-26T19:31:04.663Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209664 tokens > 200000 maximum\"}}\n    at Z5.generate (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1299:12578)\n    at Jq.makeStatusError (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1314:2100)\n    at Jq.makeRequest (file:///root/.local/share/fnm/node-versions/v24.3.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:1314:5311)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-26T19:34:01.808Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 211413 tokens > 200000 maximum\"}}\n    at Z5.generate (file:///root/.local%

Note: Error logs were truncated.

Iydah avatar Jun 26 '25 23:06 Iydah

It happens a lot - there is some issues with the UI - the terminal render implementation is suffring a lot - i used CC like 5 hrs yesterday inside a terminal in vscode - and its really struggeling to keep track of where it is - and this teleportation happens quite often

Im on VSCode - Winodws / WSL Remote - its not really an issue because it settels when done but it fliggers a lot scrolling back / forth back forth

dkmaker avatar Jun 30 '25 06:06 dkmaker

I'm also experiencing this issue, makes Claude Code barely usable over a slow 4G connection.

longregen avatar Jun 30 '25 11:06 longregen

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Oct 10 '25 10:10 github-actions[bot]