[BUG] Cmd+Click doesn't work on file paths that wrap across multiple lines
What version of Codex is running?
0.72.0 (latest as of December 2025)
What subscription do you have?
Pro
What platform is your computer?
macOS Tahoe v26.1
What issue are you seeing?
When Codex outputs long file paths (especially in bullet point lists), the paths wrap across multiple lines. The Cmd+Click functionality to open files only works on the first line of the path - clicking on the wrapped portion of the path doesn't register as a clickable link.
In the attached screenshot, you can see:
chartjs-adapter-dayjs-4wraps todate-fnson the next line- Cmd+Click works on
chartjs-adapter-but NOT ondate-fns - The same issue affects paths like
portal/app/(create)/vesting/create/_ui/SimulationModal.tsxwhen they wrap
<img width="500" src="https://github.com/user-attachments/assets/43f112f9-d340-46d9-a3f1-34616fab7fdb" />
What steps can reproduce the bug?
- Ask Codex to make changes that affect files with long paths
- Have Codex output a summary that includes these file paths in a bulleted list
- When a path wraps to a new line due to terminal width, try to Cmd+Click on the wrapped portion
- Observe that only the first line of the path is clickable
What is the expected behavior?
The entire file path should be clickable regardless of line wrapping. When a path wraps across multiple lines, Cmd+Click on any part of the path should open the file.
Additional information
This appears to be related to how terminal escape sequences for clickable links are emitted. The link metadata likely needs to span the entire path including the wrapped portion. Some terminals support multi-line clickable regions - the fix may involve using OSC 8 hyperlink sequences that properly span the line break.