diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-23 02:30:25 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-23 02:30:25 +0300 |
| commit | 09d9ddde97d5def9107c9ad6a0939bf12703203e (patch) | |
| tree | 27a1a7aaf87d40412034ca79c78cd9ffdb052573 /src/app/input | |
| parent | 3de6ea799965a7d2aad0f7db2f23f54cd24cb039 (diff) | |
fix: preserve local keybindings in remote sessions
Diffstat (limited to 'src/app/input')
| -rw-r--r-- | src/app/input/modal.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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::Mutex<()>> = 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 { |
