Claude auth flow is broken in WezTerm #4442

Closed
opened 2026-02-16 17:43:48 -05:00 by yindo · 3 comments
Owner

Originally created by @knpwrs on GitHub (Jan 8, 2026).

Originally assigned to: @kommander on GitHub.

Description

When the Claude Pro/Max oauth URL comes up the URL is not clickable in Wezterm, only the first part highlights on hover. When you try to copy the URL it contains line breaks and the darker background text (Ask and Buil in the screenshots below).

A reasonable solution would be some sort of keybinding to open the URL in browser, or copy.

Plugins

No response

OpenCode version

1.1.6

Steps to reproduce

  1. Open Wezterm
  2. Run opencode
  3. Type /connect and press return
  4. Attempt to click the URL, copy the URL, etc

Screenshot and/or share link

The window that appears with the URL:

Image

Attempting to click the URL, only the first part is recognized (see underline, I am hovering):

Image

Operating System

macOS 15.6.1

Terminal

WezTerm

Originally created by @knpwrs on GitHub (Jan 8, 2026). Originally assigned to: @kommander on GitHub. ### Description When the Claude Pro/Max oauth URL comes up the URL is not clickable in Wezterm, only the first part highlights on hover. When you try to copy the URL it contains line breaks and the darker background text (Ask and Buil in the screenshots below). A reasonable solution would be some sort of keybinding to open the URL in browser, or copy. ### Plugins _No response_ ### OpenCode version 1.1.6 ### Steps to reproduce 1. Open Wezterm 2. Run `opencode` 3. Type `/connect` and press return 4. Attempt to click the URL, copy the URL, etc ### Screenshot and/or share link The window that appears with the URL: <img width="1280" height="734" alt="Image" src="https://github.com/user-attachments/assets/5753c3c3-e78b-440f-a6c7-1872bf6daca9" /> Attempting to click the URL, only the first part is recognized (see underline, I am hovering): <img width="1246" height="732" alt="Image" src="https://github.com/user-attachments/assets/b40fe3b6-5745-405a-8561-54aca415cb5f" /> ### Operating System macOS 15.6.1 ### Terminal WezTerm
yindo added the opentuibug labels 2026-02-16 17:43:48 -05:00
yindo closed this issue 2026-02-16 17:43:48 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7273: Bug: Incomplete link navigation when URL is wrapped across multiple lines in terminal - This directly addresses the issue of clickable URLs not working properly when wrapped
  • #1168: Feature Request: Make Links Clickable (Ctrl+Left Click to Open) - Related feature request for clickable URL support
  • #7114: Claude Pro/Max authentication not usable over SSH - Also involves difficulty copying/accessing the Claude auth URL in the TUI

Additionally, since you mentioned a keybinding to open/copy the URL as a potential solution, please also check our pinned keybinds documentation: #4997

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate of existing issues. Please check: - #7273: Bug: Incomplete link navigation when URL is wrapped across multiple lines in terminal - This directly addresses the issue of clickable URLs not working properly when wrapped - #1168: Feature Request: Make Links Clickable (Ctrl+Left Click to Open) - Related feature request for clickable URL support - #7114: Claude Pro/Max authentication not usable over SSH - Also involves difficulty copying/accessing the Claude auth URL in the TUI Additionally, since you mentioned a keybinding to open/copy the URL as a potential solution, please also check our pinned keybinds documentation: #4997 Feel free to ignore if none of these address your specific case.
Author
Owner

@knpwrs commented on GitHub (Jan 8, 2026):

Closing in favor of #7273

@knpwrs commented on GitHub (Jan 8, 2026): Closing in favor of #7273
Author
Owner

@knpwrs commented on GitHub (Jan 8, 2026):

Actually on second thought I think this is distinct enough. #7273 is about URLs in general, this is about the auth flow which can reasonably have its own fix.

@knpwrs commented on GitHub (Jan 8, 2026): Actually on second thought I think this is distinct enough. #7273 is about URLs in general, this is about the auth flow which can reasonably have its own fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4442