Add local panes as well.

This commit is contained in:
Nicholas Marriott
2026-07-17 16:30:02 +01:00
parent 38808509d5
commit fde879c347
19 changed files with 742 additions and 140 deletions

View File

@@ -885,7 +885,7 @@ cmd_find_from_client(struct cmd_find_state *fs, struct client *c, int flags)
cmd_find_clear_state(fs, flags);
fs->wl = active_get_effective_winlink(c, c->session);
fs->wp = fs->wl->window->active;
fs->wp = active_get_effective_pane(c, fs->wl->window);
if (fs->wp == NULL) {
cmd_find_from_session(fs, c->session, flags);
return (0);