Applied, thanks. On Wed, Mar 28, 2012 at 10:37:23AM -0700, Jonathan Daugherty wrote: > > I reckon each window should only appear in the list once regardless > > with the first match, so this is a bug. > > In that case, see attached for CVS diff. > > -- > Jonathan Daugherty > Software Engineer > Galois, Inc.
> Index: cmd-find-window.c > =================================================================== > RCS file: /cvs/src/usr.bin/tmux/cmd-find-window.c,v > retrieving revision 1.10 > diff -u cmd-find-window.c > --- cmd-find-window.c 20 Mar 2012 23:20:08 -0000 1.10 > +++ cmd-find-window.c 28 Mar 2012 17:36:36 -0000 > @@ -142,6 +142,8 @@ > > ARRAY_ADD(&list_idx, wm->idx); > ARRAY_ADD(&list_ctx, sctx); > + > + break; > } > } > xfree(searchstr); > ? find-window-duplicates.diff ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users