[Bug] Scroll position jumps to top on streamed output (Linux regression)

Status Closed — duplicate
Reported on v2.1.81
Maintainer reply None cached
Activity 3 comments · opened Mar 24, 2026 · closed Mar 28, 2026

Bug Description
Scroll position jumps to the top of the conversation whenever new output is streamed.
This happens consistently on Linux (Fedora 42, bash, default terminal).
It worked correctly in earlier versions — likely a regression.
Related issues: #36816, #18299, #33367.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.81
  • Feedback ID: 8c383d2e-4c08-4055-92d6-931e75f0b5a8

Errors

[{"error":"AggregateError\n    at lZ.from (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:74:14664)\n    at ClientRequest.<anonymous> (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:12662)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:107:11)\n    at TLSSocket.socketErrorListener (node:_http_client:574:5)\n    at TLSSocket.emit (node:events:519:28)\n    at emitErrorNT (node:internal/streams/destroy:170:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n    at processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at xh6.request (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:84:2450)\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)\n    at async Xd1 (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3365:1584)\n    at async Dd1 (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3365:2836)\n    at async Object.call (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3368:472)\n    at async cp_ (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4108:7030)","timestamp":"2026-03-23T21:37:20.426Z"},{"error":"AggregateError\n    at lZ.from (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:74:14664)\n    at ClientRequest.<anonymous> (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:12662)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:107:11)\n    at TLSSocket.socketErrorListener (node:_http_client:574:5)\n    at TLSSocket.emit (node:events:519:28)\n    at emitErrorNT (node:internal/streams/destroy:170:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at xh6.request (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:84:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Xd1 (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3365:1584)\n    at async Dd1 (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3365:2836)\n    at async Object.call (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3368:472)\n    at async cp_ (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4108:7030)","timestamp":"2026-03-23T21:37:20.700Z"},{"error":"Error: 1P event logging: 39 events failed to export (code=ETIMEDOUT)\n    at CX1.queueFailedEvents (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:471:2659)\n    at async CX1.doExport (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:471:1508)","timestamp":"2026-03-23T21:37:25.925Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 39 events (code=ETIMEDOUT)\\n    at CX1.doExport (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:471:1682)\",\"message\":\"Failed to export 39 events (code=ETIMEDOUT)\",\"name\":\"Error\"}\n    at ru1.error (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2790:35947)\n    at Xo8.error (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:57256)\n    at file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:88281\n    at EZK (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:88827)\n    at file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:143:20250","timestamp":"2026-03-23T21:37:25.927Z"},{"error":"Error: 1P event logging: 18 events failed to export (code=ETIMEDOUT)\n    at CX1.queueFailedEvents (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:471:2659)\n    at async CX1.doExport (file:///home/nikstep/.npm-global/lib/node_modules/@anthropic-ai/claude…

Note: Content was truncated.

View original on GitHub ↗

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