diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-04-05 19:37:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-04-05 19:37:01 +0000 |
commit | 5d519ba526feffb08003e2c11c7230a6f2cc1d9e (patch) | |
tree | 446bc8a565b04861e848231e7d25dd49b1c96d8f /tmux.1 | |
parent | f16ea60cc0eceeb1e0bd580129d99aff4423ec19 (diff) |
Add a flag to cmd_find_session so that attach-session can prefer
unattached sessions when choosing the most recently used (if -t is not
given). Suggested by claudio@.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -562,6 +562,17 @@ If no server is started, .Ic attach-session will attempt to start it; this will fail unless sessions are created in the configuration file. +.Pp +The +.Ar target-session +rules for +.Ic attach-session +are slightly adjusted: if +.Nm +needs to select the most recently used session, it will prefer the most +recently used +.Em unattached +session. .It Xo Ic detach-client .Op Fl P .Op Fl t Ar target-client |