From b87361023f941649f7ce2bd6e063e68b2a4f4a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E9=9B=85=20=C2=B7=20Misaki=20Masa?= Date: Tue, 10 Sep 2024 12:28:48 +0800 Subject: [PATCH] fix: set `allow-passthrough` always to `all` instead of `on` to prevent overriding a user setting with a higher priority `all` (#1626) --- yazi-adapter/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-adapter/src/lib.rs b/yazi-adapter/src/lib.rs index a5132314..a2e33bb3 100644 --- a/yazi-adapter/src/lib.rs +++ b/yazi-adapter/src/lib.rs @@ -47,7 +47,7 @@ pub fn init() { if *TMUX { _ = std::process::Command::new("tmux") - .args(["set", "-p", "allow-passthrough", "on"]) + .args(["set", "-p", "allow-passthrough", "all"]) .stdin(std::process::Stdio::null()) .stdout(std::process::Stdio::null()) .stderr(std::process::Stdio::null())