all repos — dot @ 1613e5d0316af273f050f60c12f0b4726051b70a

Shell, editor and terminal configuration, and the tools that go with them

tmux: advertise OSC 8 hyperlinks so pi and other TUIs link under tmux
Igor Soarez igor@soarez.org
Tue, 27 Oct 2026 11:07:27 +0200
commit

1613e5d0316af273f050f60c12f0b4726051b70a

parent

65d3da052dcecba82f05e4244f33c3f489b575c5

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M config/tmux.conf → config/tmux.conf

@@ -101,6 +101,15 @@ # tmux tears. (tmux does not pass an *application's* 2026 through, so this is

# 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