[Bug] Terminal UI flashing/scrolling erratically during manual code review in long chat histories

Resolved 💬 4 comments Opened Dec 28, 2025 by WilliamxLeismer Closed Feb 14, 2026

Bug Description
When the chat history gets long enough and I start manually reviewing/accepting Claude's code changes, the Claude Code window in the terminal starts flashing wildly as it scrolls instantly up to some other area of the chat history then back down to the bottom of the chat. It is very jarring. It is repeatable when creating a sufficiently long chat history then asking Claude to start making some code changes and turning off auto-accept so I have to manually review the changes.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.0.76
  • Feedback ID: b7153b55-a548-4354-a1a4-48436233871a

Errors

[{"error":"SyntaxError: Unexpected non-whitespace character after JSON at position 63 (line 6 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:75:715\n    at B (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6526)\n    at nmB (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1008:2823)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-27T21:34:28.194Z"},{"error":"Error: Request was aborted.\n    at _0A._createMessage (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:3157)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:520:9)","timestamp":"2025-12-27T21:34:28.297Z"},{"error":"Error: Request was aborted.\n    at _0A._createMessage (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:3157)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-27T21:34:57.641Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readSync (node:fs:740:18)\n    at file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:657\n    at oI (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n    at Object.readSync (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:566)\n    at wE (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4742:105)\n    at WF (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4744:204)\n    at Ru5 (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2229:6602)\n    at H (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2229:5806)\n    at file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2229:6137\n    at t0 (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:252:62374)","timestamp":"2025-12-27T21:35:34.975Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:441:20)\n    at file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n    at oI (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n    at Object.readFileSync (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n    at WF (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4744:219)\n    at Ru5 (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2229:6602)\n    at H (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2229:5806)\n    at file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2229:6137\n    at t0 (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:252:62374)\n    at f_ (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:252:75277)","timestamp":"2025-12-27T21:35:34.977Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at VU.<anonymous> (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:10436)\n    at VU.emit (node:events:518:28)\n    at VU.emit (node:domain:489:12)\n    at Timeout.<anonymous> (file:///home/william/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:5600)\n    at listOnTimeout (node:internal/timers:588:17)\n    at process.processTimers (node:internal/timers:523:7)\n    at fzA.request (file:///home/wi

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗