gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

UI Display Issues with Theme and Color Selection in Initial Menu

Open MartinPSDev opened this issue 1 year ago • 4 comments

What happened?

When selecting themes and color schemes from the initial menu of the Gemini CLI, certain selections cause display corruption. This includes the menu list becoming disorganized, elements overlapping, and some items disappearing entirely.

Image

What did you expect to happen?

The menu and its items should remain consistently formatted and fully visible, regardless of the selected theme or color scheme. The UI should not break or lose elements upon theme/color changes.

Client information

$ gemini /about
│ About Gemini CLI                                                      
│                                                                                   
│ CLI Version        0.1.12                                               
│ Git Commit         b29c02dd (local modifications)     
│ Model              gemini-2.5-pro                                 
│ Sandbox            no sandbox                                     
│ OS                 linux                                                     
│ Auth Method        gemini-api-key                            

Login information

gemini-api-key

Anything else we need to know?

This happens specifically in the options ANSI Light, Google Code and Xcode

System: WSL (Windows Subsystem for Linux) environment on Windows 11

MartinPSDev avatar Jul 14 '25 00:07 MartinPSDev

The menu and its items should remain consistently formatted and fully visible, regardless of the selected theme or color scheme. The UI should not break or lose elements upon theme/color changes.

I believe what you are referring to (when things look hidden/removed) is the preview of light themes, they don't look that nice on a dark background. This is because these themes are intended to work on Light terminal backgrounds:

Image

miguelsolorio avatar Jul 14 '25 23:07 miguelsolorio

I don't think that's the problem because it works with several of the clear themes; it just breaks with a few. Also, you showed me a screenshot of iOS, and this error occurs in WSL.

MartinPSDev avatar Jul 15 '25 11:07 MartinPSDev

I don't think that's the problem because it works with several of the clear themes; it just breaks with a few.

Not all light themes are the same. The themes you mentioned having issues (ANSI Light, Google Code and Xcode) have the main foreground color set to black, which isn’t viewable on dark terminal backgrounds.

miguelsolorio avatar Jul 15 '25 14:07 miguelsolorio

Closing as @miguelsolorio's fix for https://github.com/google-gemini/gemini-cli/issues/4321 fixed this. Please comment if you are still seeing issues with the polish Miguel added to the light themes.

jacob314 avatar Jul 18 '25 20:07 jacob314