Fix an infinite loop in customize mode when a filter does not match, and

tweak a tmux.1 example.
This commit is contained in:
nicm
2026-06-23 11:29:27 +00:00
parent 9dba08ac8b
commit de086f9848
3 changed files with 11 additions and 10 deletions

View File

@@ -472,6 +472,7 @@ window_customize_build_keys(struct window_customize_modedata *data,
expanded = format_expand(ft, filter);
if (!format_true(expanded)) {
free(expanded);
bd = key_bindings_next(kt, bd);
continue;
}
free(expanded);