summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-find-window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-04-01 08:10:56 +0000
committernicm <nicm@openbsd.org>2012-04-01 08:10:56 +0000
commit548f0ebab3d4c8029ec1d79ea9080171d96c88f6 (patch)
treedb87156571f447d7504ed479cdedfde40fbfc958 /usr.bin/tmux/cmd-find-window.c
parentupdate currency exchange rates; (diff)
downloadwireguard-openbsd-548f0ebab3d4c8029ec1d79ea9080171d96c88f6.tar.xz
wireguard-openbsd-548f0ebab3d4c8029ec1d79ea9080171d96c88f6.zip
Only find each window once no matter how many panes, from Jonathan
Daugherty.
Diffstat (limited to 'usr.bin/tmux/cmd-find-window.c')
-rw-r--r--usr.bin/tmux/cmd-find-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-find-window.c b/usr.bin/tmux/cmd-find-window.c
index ed2e61bdaf5..34d1b97d222 100644
--- a/usr.bin/tmux/cmd-find-window.c
+++ b/usr.bin/tmux/cmd-find-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-find-window.c,v 1.10 2012/03/20 23:20:08 nicm Exp $ */
+/* $OpenBSD: cmd-find-window.c,v 1.11 2012/04/01 08:10:56 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);