[Bug] Terminal scrolls to top during code replacement in longer conversations

Resolved 💬 2 comments Opened Oct 22, 2025 by jbccc Closed Oct 23, 2025

Bug Description
often when Im not at the bottom of cc and reading some of the stuff its been generating, and it makes some code replacement, the terminal window just teleports me at the very top, and i have to scroll all the way down. it seems to be happening especially when conversation starts becoming longer. happens with plan review as well i think

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.24
  • Feedback ID: f4022873-2278-42fc-8af9-c93440c7e3b5

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at DR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n    at IncomingMessage.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9841)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at L71.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async YHB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:25937)","timestamp":"2025-10-22T07:40:08.352Z"},{"error":"Error: Request was aborted.\n    at by.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:357:3850)\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:540:9)","timestamp":"2025-10-22T07:41:23.467Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:435:20)\n    at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n    at RfQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3567:967)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3399:947)\n    at call.next (<anonymous>)\n    at JS8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:65281)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async ANQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:62335)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:61504\n    at async Oh1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:725:1714)","timestamp":"2025-10-22T07:41:25.662Z"},{"error":"Error: Request was aborted.\n    at pp._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:207:4515)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-22T07:50:18.293Z"},{"error":"Error: Shell d5c9eb is not running, so cannot be killed (status: killed)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2879:1863)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async JS8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:65281)\n    at async ANQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:62335)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:61504\n    at async Oh1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:725:1714)\n    at async YS8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:61416)\n    at async QS8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:60404)\n    at async BS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2692:57747)\n    at async v7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2851:4100)","timestamp":"2025-10-22T07:59:20.342Z"}]

View original on GitHub ↗

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