Fullscreen TUI renderer opens hyperlinks twice on click
Open 💬 0 comments Opened Jul 9, 2026 by guifuchs
Summary
In the fullscreen TUI renderer, clicking an OSC-8 hyperlink in the terminal opens the URL twice (two browser tabs). Switching to the default renderer (/tui default) opens it once, as expected.
Repro
/tui fullscreen- Have Claude output any clickable hyperlink (e.g. a URL in a response).
- Single left-click the link.
- → Browser opens two tabs for the same URL.
/tui default, click the same link → opens one tab.
Expected
One click → one open, regardless of renderer.
Diagnosis
Ruled out the OS/handler layer: gio open <url> opens one tab, and clicking under the default renderer opens one tab. xdg-mime query default x-scheme-handler/https shows a single handler. The double-open only occurs under the fullscreen renderer, so it appears the fullscreen renderer double-emits the OSC-8 hyperlink escape (or double-registers the click region).
Environment
- Claude Code: 2.1.205
- OS: Ubuntu 26.04 LTS (GNOME)
- Terminal: VTE-based (VTE_VERSION=8400), TERM=xterm-256color
Workaround
Use /tui default.