Skip to content

Long URLs/links break when wrapping #5457

Closed

Description

@luizlf

What version of Codex is running?

0.47.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

Darwin 25.0.0 arm64 arm

What issue are you seeing?

Using ghostty, but saw the same on vscode's terminal.

Image

When using codex, long URLs get broken following text wrap, and clicking on them (while holding Cmd) only follows the broken section of the link.

Outside of codex, doing echo "http://example.com/long-url-with-dashes-wider-than-terminal-window/blah-blah-blah-text/more-gibberish-text", works well, hovering at any place on the URL gives you the full link (while holding cmd).

However, doing codex "I'm testing something, just echo http://example.com/long-url-with-dashes-wider-than-terminal-window/blah-blah-blah-text/more-gibberish-text" will not give correct links anywhere within codex (either on the input prompt box, on the 'bash exec' section, or on the model output section).

What steps can reproduce the bug?

codex "I'm testing something, just echo http://example.com/long-url-with-dashes-wider-than-terminal-window/blah-blah-blah-text/more-gibberish-text" then hover over the URLs while holding Cmd.

Thread ID: 019a06e5-0433-7850-9979-38cfcbcab22b

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 21, 2025
  2. added
    TUI
    on Nov 15, 2025
  3. CaseyLabs commented on Jan 28, 2026

    @CaseyLabs

    Hello! Just wanted to follow-up on this issue and see if there's a workaround? I'm on a new Codex install (Arch Linux, Konsole terminal, zsh terminal), and I am unable to click on the Finish signing in via your browser link, as the URL is not being properly wrapped (not will it allow me to select/copy the entire URL to manually paste it in a browser).

    Thanks!

  4. added a commit that references this issue on Feb 21, 2026
    2ba2c57
  5. etraut-openai commented on Feb 22, 2026

    @etraut-openai
    Contributor

    This will be fixed in the next release.

  6. CaseyLabs commented on Feb 23, 2026

    @CaseyLabs

    This will be fixed in the next release.

    Fantastic, thank yoU!

  7. added a commit that references this issue on Jun 27, 2026
    68705f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions