From 09d9ddde97d5def9107c9ad6a0939bf12703203e Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 23 May 2026 02:30:25 +0300 Subject: fix: preserve local keybindings in remote sessions --- src/app/input/modal.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/app/input/modal.rs') diff --git a/src/app/input/modal.rs b/src/app/input/modal.rs index 1fae3800..acd481b8 100644 --- a/src/app/input/modal.rs +++ b/src/app/input/modal.rs @@ -675,8 +675,7 @@ mod tests { use super::*; fn config_env_lock() -> &'static std::sync::Mutex<()> { - static LOCK: std::sync::OnceLock> = std::sync::OnceLock::new(); - LOCK.get_or_init(|| std::sync::Mutex::new(())) + crate::config::test_config_env_lock() } fn temp_config_path(name: &str) -> std::path::PathBuf { -- cgit v1.2.3