Hi Can't you just use cmd_find_pane? If the user doesn't specify a pane it'll default to the active pane anyway so selecting it'll be a no-op.
On Sat, Nov 16, 2013 at 11:44:37PM -0600, J Raynor wrote: > The TODO list has this item: > > * attach should take a pane and select it as well as attaching > > > I've attached a patch that implements this. You can specify a pane > with %, or a window with @, just as before, but tmux will switch to > that pane or window. You can also specify windows and panes with the > colon and dot format, like "-t 1:3" or "-t 3:5.2". > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users