fix: set allow-passthrough always to all instead of on to prevent overriding a user setting with a higher priority all

This commit is contained in:
sxyazi 2024-09-10 12:23:43 +08:00
parent 3ee1209d3c
commit 60107b23a8
No known key found for this signature in database

View file

@ -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())