Long URLs/links break when wrapping

Resolved 💬 3 comments Opened Oct 21, 2025 by luizlf Closed Feb 21, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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.

<img width="544" height="738" alt="Image" src="https://github.com/user-attachments/assets/1dd055ea-ef1c-495d-9555-3aeecf2f85fb" />

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_

View original on GitHub ↗

3 Comments

CaseyLabs · 7 months ago

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!

etraut-openai contributor · 6 months ago

This will be fixed in the next release.

CaseyLabs · 6 months ago
This will be fixed in the next release.

Fantastic, thank yoU!