Long URLs/links break when wrapping
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_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗