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

This commit is contained in:
三咲雅 · Misaki Masa 2024-09-10 12:28:48 +08:00 committed by GitHub
parent 3ee1209d3c
commit b87361023f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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