Hi > I find it annoying that a tmux client exits when the last window in a session > has been closed, yet there are other sessions not attached to any client. > > If i then do tmux attach, the last unattached session is selected.
When you do "tmux attach", the most recently used session is attached regardless of whether it is already attached or unattached. > Should that be the deafault? is there an option to set this behaviour? There is no option but it is a nice idea, I'll add it to the todo list. It should not be the default though. I'm not sure exactly how it would work, whether it should cycle through the sessions in order, or unattached only, or unattached first then attached. The first would be most consistent so it should probably do that. Regards ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users