diff options
| author | Igor Soarez <igor@soarez.org> | 2026-10-27 11:07:27 +0200 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-27 11:07:27 +0200 |
| commit | 1613e5d0316af273f050f60c12f0b4726051b70a (patch) | |
| tree | c35db3e908668a9d01ab50c3f72ade4c119e8a94 /config | |
| parent | 65d3da052dcecba82f05e4244f33c3f489b575c5 (diff) | |
tmux: advertise OSC 8 hyperlinks so pi and other TUIs link under tmux
Diffstat (limited to 'config')
| -rw-r--r-- | config/tmux.conf | 9 |
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 |
