Skip to content

Authentication URL is cut off in iTerm2 #12893

@rcjsuen

Description

@rcjsuen

What happened?

The OAuth URL does not word wrap in iTerm2 when running Gemini CLI inside a container.

What did you expect to happen?

The URL should wrap and I should be able to click on it to login.

Client information

I can't provide this since I can't even type /about.

Operating system: macOS 26.0.1
iTerm2: 3.6.5
Gemini CLI version: 0.13.0
Node version: 24.11.0

Login information

This was tested with the "Login with Google" option.

Anything else we need to know?

  1. Run docker run -it --rm node:24 /bin/sh to start a Node.js Docker container.
  2. Install Gemini CLI inside the container with npm i -g @google/gemini-cli.
  3. Run gemini.
  4. Select the first "Login with Google" option.
  5. Gemini CLI will exit.
  6. Restart with gemini.
  7. Observe that the URL is cut off.

These other issues may be related:

2025-11-11-word-wrap-gemini.mov

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p1Important and should be addressed in the near term.status/possible-duplicate

Type

No fields configured for Bug.

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions