Hi I reckon each window should only appear in the list once regardless with the first match, so this is a bug.
On Wed, Mar 28, 2012 at 10:11:30AM -0700, Jonathan Daugherty wrote: > Hi, > > If you create a new window with, e.g., > > new-window -n foo > > and then add N panes to that window, then 'find-window foo' will > always list the window N times even though (ISTM) it should only list > it once. I can see how this behavior arises naturally from how > find-window is implemented and it makes sense for other matching > conditions, but it is pretty annoying when one is trying to go > directly to a named window only to be presented with the chooser > interface unnecessarily. > > One idea I had for "fixing" this behavior was to have the find-window > implementation skip matching remaining panes in a window once it had > found a match for a given window, but although that approach solves > the problem I described it would also hide other potentially > interesting matches in a given window. > > Thoughts? > > -- > Jonathan Daugherty > Software Engineer > Galois, Inc. > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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