[Bug] Terminal auto-scrolls to bottom during active generation, preventing mid-task history review
Bug Description
Subject: Auto-scroll behavior regression in Claude Code terminal
Hi Anthropic team,
I've been using Claude Code regularly and noticed a behavior change approximately two weeks ago: when Claude Code is actively generating output, the terminal now forcibly auto-scrolls back to the bottom whenever I try to scroll up to read previous responses mid-task.
This did not happen before — I was previously able to freely scroll through the conversation history while Claude Code was still working, without being snapped back to the latest output.
This is a significant usability regression, especially during long-running tasks where reviewing prior context mid-execution is important.
Environment:
Claude Code v2.1.77
macOS
Model: Opus 4.6
Please investigate what changed in recent releases and consider restoring the previous scroll behavior.
Thank you.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.76
- Feedback ID: cfd313cb-1aa4-432d-8470-695721a81db0
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/abo7aneen/.local/share/claude/versions/2.1.76 (expected in multi-process scenarios)\n at FvT (/$bunfs/root/src/entrypoints/cli.js:2417:2026)\n at Lxq (/$bunfs/root/src/entrypoints/cli.js:2417:1170)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T20:53:04.539Z"},{"error":"FileTooLargeError: File content (4.4MB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at zK_ (/$bunfs/root/src/entrypoints/cli.js:1380:268)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T20:54:18.024Z"},{"error":"FileTooLargeError: File content (832KB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at zK_ (/$bunfs/root/src/entrypoints/cli.js:1380:268)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T20:54:19.285Z"},{"error":"FileTooLargeError: File content (4.4MB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at zK_ (/$bunfs/root/src/entrypoints/cli.js:1380:268)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T20:55:57.530Z"},{"error":"MaxFileReadTokenExceededError: File content (95638 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at C67 (/$bunfs/root/src/entrypoints/cli.js:1515:8032)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T20:55:58.460Z"},{"error":"MaxFileReadTokenExceededError: File content (95638 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at C67 (/$bunfs/root/src/entrypoints/cli.js:1515:8032)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T20:56:01.654Z"},{"error":"MaxFileReadTokenExceededError: File content (95638 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at C67 (/$bunfs/root/src/entrypoints/cli.js:1515:8032)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T21:31:43.450Z"},{"error":"MaxFileReadTokenExceededError: File content (94230 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at C67 (/$bunfs/root/src/entrypoints/cli.js:1515:8032)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T21:31:43.553Z"},{"error":"MaxFileReadTokenExceededError: File content (89081 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at C67 (/$bunfs/root/src/entrypoints/cli.js:1515:8032)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T21:31:43.831Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:446:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-16T22:17:55.771Z"},{"error":"MaxFileReadTokenExceededError: File content (95639 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at C67 (/$bunfs/root/src/entrypoints/cli.js:1515:8032)\n at processTicksAndRejections (native:7:39)","timestam…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗