Skip to content

xterm WebLinkAddon does not detect links with new line (broken from xterm fit) #5412

@9M6

Description

@9M6

I am trying to open codex from openai and authenticate through the link, but for some reason the link is not being detected to be opened:

https://auth.openai.com/oauth/authorize?response_type=code&client
_id=aljsdhfjkahsdkjfhakjsdjkfa&redirect_uri=http%3A%2F%2Flocalh
ost%3A1455%2Fauth%2Fcallback&scope=openid%20profile%20email%20off
line_access&code_challenge=y9F1nT-S38-R5Xa4yu0oXR3kxIq8yd42-bf8P-
Ten78&code_challenge_method=S256&id_token_add_organizations=trues
codex_cli_simplified_flow=true&state=xfkjsadjkghsjkafhgksjhdfgjk
faskjdfhajshdfkjhaskd&originator=codex_cli_rs

Depending on the terminal width it only detects the first line;

Details

  • Browser and browser version: Chrome latest
  • OS version: MacOS Sonoma
  • xterm.js version: latest

Steps to reproduce

  1. Open OpenAI -> Codex
  2. Login with Account + Click the link

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions