diff --git a/home/tmux/default.nix b/home/tmux/default.nix index 7234bb2..8e673b1 100644 --- a/home/tmux/default.nix +++ b/home/tmux/default.nix @@ -9,6 +9,8 @@ in { options.my.home.tmux = with lib; { enable = my.mkDisableOption "tmux terminal multiplexer"; + + enabledPassthrough = mkEnableOption "tmux DCS passthrough sequence"; }; config.programs.tmux = lib.mkIf cfg.enable { @@ -63,6 +65,13 @@ in # Allow any application to send OSC52 escapes to set the clipboard set -s set-clipboard on + + ${ + lib.optionalString cfg.enabledPassthrough '' + # Allow any application to use the tmux DCS for passthrough + set -g allow-passthrough on + '' + } ''; }; }