Skip to content

useBackgroundColor on tmux on alacritty: Can't See Prompt Text #18315

@soisyourface

Description

@soisyourface

What happened?

Hi all,

After updating to gemini-cli 0.27.0 this morning, I found that I was unable to read the text in the prompt. Here is an example of what I was seeing:

Image

After a moment of panic I decided to go through all of the changenotes and PRs and luckily stumbled upon #16563. Then, I was able to change the ui.useBackgroundColor to false and voila, usable again.

Some additional notes. I use tmux in alacritty. This only happens when I'm in tmux. So yes, this likely only impact a very few individuals but figured it was worth noting. Even if it only helps me and a few others now and in the future.

What did you expect to happen?

I did not expect to have my workflow break and only luckily find the problem and fix.

Client information

Client Information

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

> /about
│ About Gemini CLI                                                                                                                                                                                                  │
│                                                                                                                                                                                                                   │
│ CLI Version                                                              0.27.0                                                                                                                                   │
│ Git Commit                                                               ec10a7692                                                                                                                                │
│ Model                                                                    auto-gemini-3                                                                                                                            │
│ Sandbox                                                                  no sandbox                                                                                                                               │
│ OS                                                                       linux                                                                                                                                    │
│ Auth Method                                                              gemini-api-key

Login information

No response

Anything else we need to know?

tmux 3.5a on alacritty 0.16.1

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions