core: log when we see a leader

This commit is contained in:
Mitchell Hashimoto
2024-08-15 20:06:15 -07:00
committed by Mitchell Hashimoto
parent 43176c750e
commit 9577c8b8b9

View File

@ -1355,7 +1355,11 @@ pub fn keyCallback(
break :binding; break :binding;
}; };
const binding_action = switch (binding_entry) { const binding_action = switch (binding_entry) {
.leader => break :binding, // TODO .leader => {
// TODO
log.warn("sequenced keybinds are not supported yet", .{});
break :binding;
},
.action, .action_unconsumed => |action| action, .action, .action_unconsumed => |action| action,
}; };
const consumed = binding_entry == .action; const consumed = binding_entry == .action;