macos: don't include LEADER based key assignments in menubar

refs: https://github.com/wez/wezterm/issues/3021
This commit is contained in:
Wez Furlong committed 2023-01-27 15:52:54 -07:00
1 parent 36519f0d90
commit 691ec187ba
1 file changed
+3
+3
View File
@@ -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()));
}