Scroll Position Reset During Code Generation Context

Resolved 💬 3 comments Opened Jun 8, 2025 by citizenchris100 Closed Jan 6, 2026

Bug Description
when scrolling up to view content provided by claude code (Such as a rather large file being edited or added) you are sent to the top of the context. Sometimes even in a 'cleared' session you will be sent back so far to view content that should have been cleared.

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 1.0.7
  • Feedback ID: ef053255-6aa8-40bf-beab-55d3e4253724

Errors

[{"error":"Error: Request was aborted.\n    at Pr._createMessage (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:725:6810)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-08T16:55:36.089Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readSync (node:fs:741:18)\n    at Object.readSync (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:536:901)\n    at ZG (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:539:260)\n    at GI (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:541:357)\n    at file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1510:1554\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-08T17:12:54.486Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:442:20)\n    at Object.readFileSync (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:536:728)\n    at GI (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:541:375)\n    at file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1510:1554\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-08T17:12:54.486Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1510:1326)\n    at async S55 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:12788)\n    at async qV1 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:11316)\n    at async T55 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10640)\n    at async O55 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10574)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:9535)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)","timestamp":"2025-06-08T17:19:39.847Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1510:1326)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async S55 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:12788)\n    at async qV1 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:11316)\n    at async T55 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10640)\n    at async O55 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10574)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:9535)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)\n    at async Ve (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1846:10171)","timestamp":"2025-06-08T17:19:50.220Z"},{"error":"Error: Request was aborted.\n    at Pr._createMessage (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:725:6810)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-08T17:50:06.068Z"},{"error":"SyntaxError: Unexpected token 'I', \"I apologiz\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at P8 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:557:9977)\n    at tN2 (file:///home/chris/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1911:672)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-08T18:02:08.660Z"},{"error":"ShellError: Shell command failed\n    at Object.

Note: Error logs were truncated.

View original on GitHub ↗

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