mirror of
https://github.com/tmux/tmux.git
synced 2026-07-04 09:34:45 +00:00
Fix an infinite loop in customize mode when a filter does not match, and
tweak a tmux.1 example.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user