diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-04-01 08:10:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-04-01 08:10:56 +0000 |
commit | cd8e536c430d8a605d5452f03674b7bdfd0b5fa7 (patch) | |
tree | 911f3db8456c64c1e4ee6886514391598c1e1e9f /cmd-find-window.c | |
parent | 0edaa34bfda4aa6ba509688fa32af9e1ee1bb7fc (diff) | |
download | rtmux-cd8e536c430d8a605d5452f03674b7bdfd0b5fa7.tar.gz rtmux-cd8e536c430d8a605d5452f03674b7bdfd0b5fa7.tar.bz2 rtmux-cd8e536c430d8a605d5452f03674b7bdfd0b5fa7.zip |
Only find each window once no matter how many panes, from Jonathan
Daugherty.
Diffstat (limited to 'cmd-find-window.c')
-rw-r--r-- | cmd-find-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-find-window.c b/cmd-find-window.c index e1d5536f..c1dde2e2 100644 --- a/cmd-find-window.c +++ b/cmd-find-window.c @@ -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); |