Summary
In Codex CLI 0.136.0, the release notes say that markdown links are preserved as terminal hyperlinks in the TUI, but links are not clickable in the interactive TUI on my machine even though the terminal supports OSC 8 hyperlinks.
This reproduces across multiple terminal emulators. A direct shell OSC 8 test works, but links rendered by Codex TUI are not clickable.
Environment
- Codex CLI:
codex-cli 0.136.0
- Install: npm package
@openai/codex@0.136.0
- OS: Ubuntu Linux
- Shell: bash
- Terminals tested:
- WezTerm (
TERM=xterm-256color, COLORTERM=truecolor)
- kitty-compatible terminal session (
TERM=xterm-kitty, COLORTERM=truecolor)
- User also reproduced in a third OSC-8-capable terminal
Expected Behavior
When the assistant outputs a markdown web link like:
[Codex release](https://github.com/openai/codex/releases/tag/rust-v0.136.0)
the visible label Codex release should be clickable in the Codex TUI.
Actual Behavior
The rendered link label is not clickable in the Codex TUI.
The same terminals support OSC 8 hyperlinks outside Codex. For example, this direct shell test produces clickable links:
printf '\033]8;;https://github.com/openai/codex/releases/tag/rust-v0.136.0\033\\Codex 0.136.0 release\033]8;;\033\\\n'
Reproduction
- Install / run Codex CLI
0.136.0.
- Start the interactive TUI in an OSC-8-capable terminal.
- Ask Codex:
Print a markdown link to https://github.com/openai/codex/releases/tag/rust-v0.136.0
- Try to click the rendered link label in the TUI.
Result: the label is not clickable.
Additional Note: local file links
Local file:// links also do not work. After checking the 0.136.0 source, this part appears to be by design because tui/src/terminal_hyperlinks.rs only allows http and https in web_destination().
That is understandable, but the web-link behavior above still appears broken because https links do not become clickable in the interactive TUI despite terminal OSC-8 support.
Source checked:
https://raw.githubusercontent.com/openai/codex/rust-v0.136.0/codex-rs/tui/src/terminal_hyperlinks.rs
Summary
In Codex CLI
0.136.0, the release notes say that markdown links are preserved as terminal hyperlinks in the TUI, but links are not clickable in the interactive TUI on my machine even though the terminal supports OSC 8 hyperlinks.This reproduces across multiple terminal emulators. A direct shell OSC 8 test works, but links rendered by Codex TUI are not clickable.
Environment
codex-cli 0.136.0@openai/codex@0.136.0TERM=xterm-256color,COLORTERM=truecolor)TERM=xterm-kitty,COLORTERM=truecolor)Expected Behavior
When the assistant outputs a markdown web link like:
the visible label
Codex releaseshould be clickable in the Codex TUI.Actual Behavior
The rendered link label is not clickable in the Codex TUI.
The same terminals support OSC 8 hyperlinks outside Codex. For example, this direct shell test produces clickable links:
Reproduction
0.136.0.Result: the label is not clickable.
Additional Note: local file links
Local
file://links also do not work. After checking the0.136.0source, this part appears to be by design becausetui/src/terminal_hyperlinks.rsonly allowshttpandhttpsinweb_destination().That is understandable, but the web-link behavior above still appears broken because
httpslinks do not become clickable in the interactive TUI despite terminal OSC-8 support.Source checked:
https://raw.githubusercontent.com/openai/codex/rust-v0.136.0/codex-rs/tui/src/terminal_hyperlinks.rs