Sync OpenBSD patchset 485:

Add an activity time for clients, like for sessions, and change session and
client lookup to pick the most recently used rather than the most recently
created - this is much more useful when used interactively and (because the
activity time is set at creation) should have no effect on source-file.

Based on a problem reported by Jan Johansson.
This commit is contained in:
Tiago Cunha
2009-11-04 22:46:25 +00:00
parent b7fc4f3760
commit 5be38f2b3a
4 changed files with 43 additions and 35 deletions

4
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.198 2009-11-04 22:38:16 tcunha Exp $
.\" $Id: tmux.1,v 1.199 2009-11-04 22:46:25 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -282,7 +282,7 @@ pattern.
If a single match is found, it is used as the target session; multiple matches
produce an error.
If a session is omitted, the current session is used if available; if no
current session is available, the most recently created is chosen.
current session is available, the most recently used is chosen.
.Pp
.Ar target-window
specifies a window in the form