From f1ebddedab2ec72eff67f5f42515a5925f5f5b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Wed, 18 Feb 2026 20:59:06 +0100 Subject: [PATCH] tmux: fix double press prefix passthrough --- modules/programs/tmux.nix | 2 +- tests/modules/programs/tmux/prefix.conf | 2 +- tests/modules/programs/tmux/shortcut-without-prefix.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix index 15fd703c..d669873e 100644 --- a/modules/programs/tmux.nix +++ b/modules/programs/tmux.nix @@ -92,7 +92,7 @@ let # rebind main key: ${prefix} unbind ${defaultPrefix} set -g prefix ${prefix} - bind -n -N "Send the prefix key through to the application" \ + bind -N "Send the prefix key through to the application" \ ${prefix} send-prefix '' } diff --git a/tests/modules/programs/tmux/prefix.conf b/tests/modules/programs/tmux/prefix.conf index eee6ff9e..cf7bfcdf 100644 --- a/tests/modules/programs/tmux/prefix.conf +++ b/tests/modules/programs/tmux/prefix.conf @@ -15,7 +15,7 @@ set -g mode-keys emacs # rebind main key: C-a unbind C-b set -g prefix C-a -bind -n -N "Send the prefix key through to the application" \ +bind -N "Send the prefix key through to the application" \ C-a send-prefix diff --git a/tests/modules/programs/tmux/shortcut-without-prefix.conf b/tests/modules/programs/tmux/shortcut-without-prefix.conf index eee6ff9e..cf7bfcdf 100644 --- a/tests/modules/programs/tmux/shortcut-without-prefix.conf +++ b/tests/modules/programs/tmux/shortcut-without-prefix.conf @@ -15,7 +15,7 @@ set -g mode-keys emacs # rebind main key: C-a unbind C-b set -g prefix C-a -bind -n -N "Send the prefix key through to the application" \ +bind -N "Send the prefix key through to the application" \ C-a send-prefix