From 3f82cd47a85e522c1f75ed2fe191439ed3ec3d7d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 7 Mar 2024 15:44:17 +0000 Subject: [PATCH] home: tmux: add hyperlinks support Somewhat unfortunate that those have to be enabled by force, but easy enough to support. --- modules/home/tmux/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/tmux/default.nix b/modules/home/tmux/default.nix index 1e77512..8e17daf 100644 --- a/modules/home/tmux/default.nix +++ b/modules/home/tmux/default.nix @@ -24,6 +24,8 @@ in type = with types; attrsOf (types.submodule { options = { trueColor = my.mkDisableOption "24-bit (RGB) color support"; + + hyperlinks = my.mkDisableOption "hyperlinks through OSC8"; }; }); @@ -103,6 +105,8 @@ in # Force 24-bit color for each relevant $TERM ${mkFlags "trueColor" "RGB"} + # Force OSC8 hyperlinks for each relevant $TERM + ${mkFlags "hyperlinks" "hyperlinks"} ''; }; }