From 691ec187ba29fcae45ddf4e4f88fd02c49988c86 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 27 Jan 2023 15:52:54 -0700 Subject: [PATCH] macos: don't include LEADER based key assignments in menubar refs: https://github.com/wez/wezterm/issues/3021 --- wezterm-gui/src/inputmap.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wezterm-gui/src/inputmap.rs b/wezterm-gui/src/inputmap.rs index 5274b4d3c..29f0d81af 100644 --- a/wezterm-gui/src/inputmap.rs +++ b/wezterm-gui/src/inputmap.rs @@ -372,6 +372,9 @@ impl InputMap { let mut candidates = vec![]; for ((key, mods), entry) in &self.keys.default { + if mods.contains(Modifiers::LEADER) { + continue; + } if entry.action == *action { candidates.push((key.clone(), mods.clone())); }