Skip to content

Commit

Permalink
macos: don't include LEADER based key assignments in menubar
Browse files Browse the repository at this point in the history
refs: #3021
  • Loading branch information
wez committed Jan 27, 2023
1 parent 36519f0 commit 691ec18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wezterm-gui/src/inputmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down

0 comments on commit 691ec18

Please sign in to comment.