Skip to content

Gemini CLI sometimes enters the following text in the terminal on startup #6906

@jacob314

Description

@jacob314

What happened?

Opened Gemini CLI and saw the following in the input prompt when I expected an empty prompt
\x1b[?64;1;2;4;6;17;18;21;22c

This is likely due to incorrect handling of the kitty protocol. I'm using iterm2 on mac.

What did you expect to happen?

I expected an empty input prompt.

Client information

Details
$ gemini /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1Important and should be addressed in the near term.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions