You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
High performance and flicker free behavior on terminal resize #21924
This requires migrating to RenderStatic for from Static for history items
and updating the history items in small batches on resize rather than attempting to update the entire history the first frame after resize.
RenderWorker changes in Ink will also help mitigating by resolving the current issue where outside of alternate buffer mode, there is a large flicker of previously rendered content on resize.
We have migrated to StaticRenderer and we optimize to only render 1000 chars on the ink side but we haven't yet landed the corresponding optimization to 1000 chars on the Gemini CLI side
Assigned area/core based on content keywords. Marked as kind/bug with priority/p2. Missing CLI version, so status/need-information is recommended.
Effort Analysis:
Using codebase search tools, I investigated the keyword 'performance' and located the core mechanisms in packages/cli/src/config/settingsSchema.ts, packages/cli/src/gemini.test.tsx, packages/cli/src/ui/AppContainer.tsx. The required fix involves state synchronization, asynchronous flows, or cross-component refactors between the UI and core packages. Resolving the data models and lifecycle constraints here requires moderate technical depth, categorizing this as effort/medium.
Activity
jacob314 commentedon Apr 6, 2026
We have migrated to StaticRenderer and we optimize to only render 1000 chars on the ink side but we haven't yet landed the corresponding optimization to 1000 chars on the Gemini CLI side
gemini-cli commentedon May 9, 2026
Assigned area/core based on content keywords. Marked as kind/bug with priority/p2. Missing CLI version, so status/need-information is recommended.
Effort Analysis:
Using codebase search tools, I investigated the keyword 'performance' and located the core mechanisms in
packages/cli/src/config/settingsSchema.ts,packages/cli/src/gemini.test.tsx,packages/cli/src/ui/AppContainer.tsx. The required fix involves state synchronization, asynchronous flows, or cross-component refactors between the UI and core packages. Resolving the data models and lifecycle constraints here requires moderate technical depth, categorizing this as effort/medium.fix(cli): prevent duplicate line flashes and black screen blink on te…