1
1
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:
Wez Furlong 2023-01-27 15:52:54 -07:00
parent 36519f0d90
commit 691ec187ba
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

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()));
}