core: log when we see a leader

pull/2121/head
Mitchell Hashimoto 2024-08-15 20:06:15 -07:00 committed by Mitchell Hashimoto
parent 43176c750e
commit 9577c8b8b9
1 changed files with 5 additions and 1 deletions

View File

@ -1355,7 +1355,11 @@ pub fn keyCallback(
break :binding;
};
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,
};
const consumed = binding_entry == .action;