Skip to content

Long URLs/links break when wrapping #5457

@luizlf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions