Gemini CLI Fix: Prevents Clearing Terminal Scrollback on Static Refresh

Adityakk9031 · ghdev · 2026-08-23

Fixes a bug in google-gemini/gemini-cli where refreshStatic() used clearTerminal, permanently purging the scrollback history on Linux/Unix terminals. Replaced with eraseScreen and cursorTo(0, 0) to only clear the visible viewport.

Original post →

More from coding & agent

coding & agent channel →