Only find each window once no matter how many panes, from Jonathan

Daugherty.
This commit is contained in:
Nicholas Marriott 2012-04-01 08:10:56 +00:00
parent 0edaa34bfd
commit cd8e536c43

View File

@ -142,6 +142,7 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
ARRAY_ADD(&list_idx, wm->idx);
ARRAY_ADD(&list_ctx, sctx);
break;
}
}
xfree(searchstr);