home: tmux: add hyperlinks support
Somewhat unfortunate that those have to be enabled by force, but easy enough to support.
This commit is contained in:
parent
742b4c39a2
commit
22139bd69f
|
@ -23,6 +23,8 @@ in
|
||||||
terminalFeatures = mkOption {
|
terminalFeatures = mkOption {
|
||||||
type = with types; attrsOf (submodule {
|
type = with types; attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
|
hyperlinks = my.mkDisableOption "hyperlinks through OSC8";
|
||||||
|
|
||||||
trueColor = my.mkDisableOption "24-bit (RGB) color support";
|
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
|
# Force 24-bit color for each relevant $TERM
|
||||||
${mkTerminalFlags "trueColor" "RGB"}
|
${mkTerminalFlags "trueColor" "RGB"}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue