Add a helper to replace a loop.

This commit is contained in:
Nicholas Marriott
2026-05-27 20:33:03 +01:00
parent 20cf0d3ea9
commit c62b27f014
3 changed files with 16 additions and 15 deletions

1
tmux.h
View File

@@ -3430,6 +3430,7 @@ struct window *window_create(u_int, u_int, u_int, u_int);
void window_pane_set_event(struct window_pane *);
struct window_pane *window_get_active_at(struct window *, u_int, u_int);
struct window_pane *window_find_string(struct window *, const char *);
int window_has_floating_panes(struct window *);
int window_has_pane(struct window *, struct window_pane *);
int window_set_active_pane(struct window *, struct window_pane *,
int);