mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 16:42:13 +03:00
macos: don't include LEADER based key assignments in menubar
refs: https://github.com/wez/wezterm/issues/3021
This commit is contained in:
parent
36519f0d90
commit
691ec187ba
@ -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()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user