Skip to content

UI rendering artifacts (double rendering) in Gemini CLI when used within shpool sessions #18703

@braddux

Description

@braddux

What happened?

  • Issue: When running the Gemini CLI interactive UI inside a multiplexed terminal session using shpool, UI elements like the footer and settings dialogs often render twice or exhibit flickering artifacts.

  • Root Cause: The application was manually entering the alternate screen buffer while simultaneously instructing the ink library to do the same, leading to redundant and conflicting terminal control sequences. Additionally, shpool requires a small stabilization window during TUI startup and can exhibit frame-replay artifacts with incremental rendering enabled.

What did you expect to happen?

rendering should look correct

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ About Gemini CLI                                                                                                       │
│                                                                                                                        │
│ CLI Version                              0.28.0-preview.6                                                              │
│ Git Commit                               44c67daa0                                                                     │
│ Model                                    auto-gemini-3                                                                 │
│ Sandbox                                  no sandbox                                                                    │
│ OS                                       linux                                                                         │
│ Auth Method                              Logged in with Google (REDACTED)                                    │
│ GCP Project                              shared-g3-gemini-quota   

Login information

Google account

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions