input: leaf_chained tagged union value

This commit is contained in:
Mitchell Hashimoto
2025-12-22 09:13:05 -08:00
parent 3877ead071
commit 42c21eb16b
6 changed files with 184 additions and 35 deletions

View File

@@ -326,7 +326,6 @@ fn iterateBindings(
switch (bind.value_ptr.*) {
.leader => |leader| {
// Recursively iterate on the set of bindings for this leader key
var n_iter = leader.bindings.iterator();
const sub_bindings, const max_width = try iterateBindings(alloc, &n_iter, win);
@@ -353,6 +352,9 @@ fn iterateBindings(
.action = leaf.action,
});
},
.leaf_chained => {
// TODO: Show these.
},
}
}