summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/tmux.conf9
1 files changed, 9 insertions, 0 deletions
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