clean up bindings so that they match macOS menus

This commit is contained in:
Mitchell Hashimoto
2025-05-08 21:08:00 -07:00
parent 5962696c3b
commit d015efc87d
3 changed files with 16 additions and 10 deletions

View File

@@ -1761,6 +1761,8 @@ pub fn keyEventIsBinding(
// sequences) or the root set.
const set = self.keyboard.bindings orelse &self.config.keybind.set;
// log.warn("text keyEventIsBinding event={} match={}", .{ event, set.getEvent(event) != null });
// If we have a keybinding for this event then we return true.
return set.getEvent(event) != null;
}