From 1613e5d0316af273f050f60c12f0b4726051b70a Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Tue, 27 Oct 2026 11:07:27 +0200 Subject: tmux: advertise OSC 8 hyperlinks so pi and other TUIs link under tmux --- config/tmux.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/tmux.conf b/config/tmux.conf index 9a264bd..32fe7f7 100644 --- a/config/tmux.conf +++ b/config/tmux.conf @@ -101,6 +101,15 @@ set -ag terminal-overrides ",$TERM:Tc" # the only lever we have on flicker under tmux.) set -ag terminal-features ",*:sync" +# Advertise OSC 8 hyperlink support so tmux re-emits (rather than strips) +# hyperlinks from TUIs inside it. tmux only advertises the feature to inner +# apps -- via #{client_termfeatures}, which pi probes at startup -- when the +# feature is listed here. Test: `tmux display-message -p +# '#{client_termfeatures}'` should list `hyperlinks`, then restart pi. +# Clicking: Ghostty/Alacritty open links on a modifier-chord click (e.g. +# Cmd/Ctrl depending on capture); a plain click is selection, by design. +set -ag terminal-features ",*:hyperlinks" + # change selection color -- cgit v1.2.3