home: tmux: add hyperlinks support
All checks were successful
ci/woodpecker/push/check Pipeline was successful

Somewhat unfortunate that those have to be enabled by force, but easy
enough to support.
This commit is contained in:
Bruno BELANYI 2024-03-07 15:44:17 +00:00
parent e71b6e8102
commit 947583db33

View file

@ -23,6 +23,8 @@ in
terminalFeatures = mkOption {
type = with types; attrsOf (submodule {
options = {
hyperlinks = my.mkDisableOption "hyperlinks through OSC8";
trueColor = my.mkDisableOption "24-bit (RGB) color support";
};
});
@ -101,6 +103,8 @@ in
''
}
# Force OSC8 hyperlinks for each relevant $TERM
${mkTerminalFlags "hyperlinks" "hyperlinks"}
# Force 24-bit color for each relevant $TERM
${mkTerminalFlags "trueColor" "RGB"}
'';