mirror of
https://github.com/wez/wezterm.git
synced 2024-11-30 14:49:26 +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![];
|
let mut candidates = vec![];
|
||||||
|
|
||||||
for ((key, mods), entry) in &self.keys.default {
|
for ((key, mods), entry) in &self.keys.default {
|
||||||
|
if mods.contains(Modifiers::LEADER) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if entry.action == *action {
|
if entry.action == *action {
|
||||||
candidates.push((key.clone(), mods.clone()));
|
candidates.push((key.clone(), mods.clone()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user