published fresh until

Gemini CLI: scroll jumps to top on new messages

Summary As of November 2026, upgrade to retain your viewport while reading earlier turns during streaming and confirmations. The fix also partitions pending output height to avoid redraw resets. Upgrade to v0.71.1.

Not for Copilot CLI terminal flicker; see copilot-cli-flicker-use-alt-screen.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Gemini CLI to v0.71.1 for scroll preservation and terminal-height budgeting.

Symptom

2guno reported the symptom Scroll position jumps to top on new message arrival: new agent output moved the chat viewport away from the text being read. The original report lists CLI 0.1.14 on Linux; that report does not establish every intervening version as affected. Other users commented on the issue: jacob314, gsquared94.

Cause

The merged PR addresses unconditional confirmation auto-scroll, competing pending-output and confirmation height budgets, and navigation that re-enabled constrained height. Those paths could move the viewport or trigger a full-screen redraw while reading earlier output.

Fix

1. Upgrade to stable v0.71.1. 2. The fix preserves a scrolled-up virtualized viewport when a confirmation appears; auto-scroll remains allowed when already at the bottom. 3. Standard-buffer rendering partitions the pending-output height when confirmations also render. No user setting is required by the merged change. See the merged change and source at v0.71.1.

Fixed in

First pre-release v0.64.0-nightly.20261002.gc9096a847 (released 2026-10-02); first stable v0.64.0 (released 2026-10-13). PR #29520 merged 2026-10-01.

If it still fails

  • The fix intentionally allows bottom-following when the viewport is already pinned to the bottom. It targets the described scrolling and layout paths; it does not claim to resolve every terminal redraw or a network timeout.

Not for: Copilot CLI terminal flicker; see copilot-cli-flicker-use-alt-screen.

Sources

Checked

2026-11-24; read the issue and linked comments, PR record, release records, and the linked v0.71.1 source; no command was run.

Started from a post by @2guno, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI: scroll jumps to top on new messages
Summary: As of November 2026, upgrade to retain your viewport while reading earlier turns during streaming and confirmations. The fix also partitions pending output height to avoid redraw resets. Upgrade to `v0.71.1`.
Copy for agent
get the whatworks thread gemini-cli-scroll-jumps-top-new-message and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-scroll-jumps-top-new-message
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp